a lesson in software design
This blog used to run on WordPress but now runs on Habari which is a blogging platform currently being developed by a set of very talented people.
Undoubtedly, the number of developers and users running Habari is far fewer than the massive community using WordPress. Similarly, the number of available themes and plugins available for Habari is relatively small (albeit growing daily) and dwarfed by the vast, almost bewildering wealth of add-ons and the extensive range of themes available for Wordpress.
However, this isn't a bad thing because it forces anyone contemplating a migration to Habari to think carefully about the core plugins that are truly essential to adminster your blog and valuable for your readers.
One such plugin (for me) was an equivalent of the Wordpress sitemaps plugin. Rick Cockrum published a excellent summary of why an automatically generated sitemap is useful.
When I first configured and activated the sitemap plugin for Habari, nothing happened. No sitemap file was generated. Initially, I thought that maybe the sitemap was only generated after a post was published. So I published a new post. Still nothing happened..
I posted a enquiry on the Habari users mailing list. In an effort to 'help' the Habari community, I even opened a ticket (bug request).
Then, I made an amazing discovery when an anonymous author was forced to waste some of his valuable time to close my 'bug report':
The plugin is not intended to generate a file, rather to serve the sitemap xml document when requested.
So, it transpires that the Habari sitemaps plugin doesn't actually generate a file. The sitemap is simply a URL which is dynamically built, on request.
Now I believe this is a much neater solution. No need for the user to specify where the file should be placed. Less work for the plugin to do. Much cleaner. Much simpler. Credit to the author, Andrew da Silva.
The lesson I learned was that just because something has always been done that way doesn't necessarily mean it can only be done that way.
P.S. If you're worried about the performance impact of needlessly rebuilding a sitemap, on the fly for 234,432 entries, don't worry - some clever individual has already implemented a cache for the sitemap data.
Related posts
25 reasons you should use Disqus
- Disqus lets you easily track all comments you have left scattered over the blogosphere.
- Disqus allows you to adminster comments on multiple blogs from a single dashboard.
- Disqus has built-in effective protection against comment spam.
- Disqus provides tight integration with Blogger, WordPress, Typepad, MT and Tumblr.
- Disqus provides Javascript code for every other CMS.
- Disqus supports threaded comments.
- Disqus allows you to fix that embarassing typo by editting comments.
- Disqus 'eat their own dog food'.
- Disqus is free to use.
- Disqus is used on over 4,000 blogs.
- Disqus lets you subscribe to individual comment threads.
- Disqus supports gravatars.
- Disqus lets ...
resurrection of Disqus comments
Five months ago, I experimented with Disqus powered comments when this blog was running on WordPress. The trial was rather short-lived because I was disappointed that Disqus wasn't able to fully integrate with all the existing blog comments. Importing comments still isn't possible but Disqus says this feature is being worked on.
However, I have decided to reinstate Disqus for the following reasons:
- Disqus recently added integration with FriendFeed so any contributions I make on Disqus powered blogs will also be visible in my FriendFeed stream.
- I am encountering an ever increasing number of blogs using Disqus.
- I am ...
Joomla, Twitter, Drupal and ftp
- Joomla! 1.5 has been released and installed over here.
- Drupal 6 hasn't been released but that didn't stop me upgrading this blog to 6 RC2.
- I never thought I would say this but I think I am starting to get Twitter. Blame Tim Hall.
- FTP - Siebel had an FTP site for exchanging files with customers. Oracle has an FTP site for exchanging files with customers. Unsurprisingly, Oracle are standardising on the latter. I simply can't believe how much time I have
wastedspent helping intelligent people crossing this chasm. - The Europa Hotel in Belfast was the ...