<< | Blog Archive | >>
Blog pages from February 2006
Blog Feeds
I did not realise it untill now, but apparently it is possible to add pagelist parmeters to ?action=rss, which will make for a nice blog rss or atom output. For instance like:
.../pmwiki.php?action=rss&group=BlogPages&list=blog&order=-ctime&count=50
To test use this link: rss blog feed
So now I added feed links to all blog pages, so visitors with browsers like Firefox can click the rss feed symbol and add the blog pages to their bookmarks easily.
Comments Counter
The comments on each page can be counted now. I added a page variable {$PostCount} to commentboxstyled.php. This will show the number of posts (comments, messages) on the page, by counting the number of occurences of the >>messagehead<< string in the page. Thanks to DaveG for the counting function! I used it also in the main blog list, adding it to the blog list template (Blog.BlogListTemplates#blog) using the extended version {BlogComments.{=$Name}$PostCount}. And I used it for the forum topic list to show the number of posts for each topic.
Blog Bundle Update
The newest blogsimple.zipΔ is now updated with all the recent changes to the comments functionality: comments have numbered anchors (affects all new comments, not existing ones. Existing comments need to have anchors added manually if this is needed). The Add Comment link in the blog list opens the page at the comment box, and links to recent comments open the page at the comment. Comments are counted as well (see CommentsCounter).
