Monday, December 19, 2005

Bloggalysis part deux

So, upon reading Amber's post about Bloggalysis, an affliction we have all suffered from, I was struck with an idea: Why not service my bloglines addiction by doing what Blogger has so far refused to do: set up an RSS feed for the comments!

But how, pray tell? Well, it turns out that you can configure Blogger to send out an email alert when a comment is posted to the blog. I examined the format of this email and figured that it would be possible to strip out the good stuff, cram it into data-structure and make a feed out of it.

With a little bit of Ruby magic (about 90 lines), I managed to get the job done! I pointed an email address at a ruby script that parses the email, crams the data into an embedded database, and then writes out the most recent comments as RSS feed...

I present The Chunky and Conglomerated Chairjockey Comment Feed!

If you use Safari's RSS reader, here is your link..

If you use some other reader (like the aforementioned bloglines) just point your tool to http://odacrem.com/rss/chairjockey-comments.rdf

Enjoy the RSESSY goodness!!!

No comments:

Post a Comment