Whirlpool Daily Roundup RSS Feed

Last year I wrote a Whirlpool Daily Roundup RSS Feed generator, the feed is generated hourly and can be accessed at http://fergofrog.com/wproundup/wproundup.rss. Please set your reader to not download it too often (every 20-30 minutes is fine), it is hosted on my home internet connection and I can’t handle too many regular requests.

I based it off a feed I used a few years ago, which is hosted at https://github.com/tarka/Whirlpool. However I wanted each post to have its own item in the feed, so I rewrote tarka’s version. My greatest problem was that the pubDate field requires a RFC 2822 formatted time stamp. Whirlpool not providing that on their page I began writing up a parser module that could handle each website and parse the date from there; however I found that whirlpool had too many sources, many of which don’t provide the time their article was published. My final solution was simply to set each article to be published at 10am AEST, which isn’t great but it was better than any other method I could think of (including stuff with databases and a mixture of database + parsers).

I have put the source code up here: http://fergofrog.com/wproundup/roundup2rss.py. It is released under GPL 2.0, if you want a copy of the license you can find it at http://fergofrog.com/wproundup/gpl-2.0.txt. Feel free to adapt it to your needs, or to another website, that’s why it is released under GPL. If you do use it, then feel free to leave a comment about it, I’ll be interested to see what you have done.

If you notice any problems with the feed please let me know in the comments, or my email address is in the source code.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>