Ivan’s private site

March 30, 2007

Yet another converter to RSS1.0

Filed under: Code,Python,Semantic Web,Work Related — Ivan Herman @ 17:19

One of the problems I had for a long time with the RSS feeds of the different blogging systems is the difficulty to generate an RSS feed for a specific category only. For example, this blog includes entries on, say, the Semantic Web, but also on Hungarian issues (possibly in Hungarian). Obviously, I would not want to export an RSS feed for an audience on Semantic Web that would include those Hungarian entries… But it was impossible to do that with wordpress, for example.

I made therefore such a conversion script in python. It really is only a wrapper around Mark Pilgrim’s excellent universal feed parser. You can use this script as some sort of an off-line converter or (via a separate small script) as a CGI script on your server. Just copy the python files in the appropriate directories corresponding to your local setup. For convenience’s sake I have also added the source of the universal feed parser to the distribution.



  1. Wouldn’t the builtin feed for e.g. your semantic web category work:

    Comment by mortenf — April 11, 2007 @ 10:34

  2. In simple cases, yes, that is enough (on wordpress, that is). But if I want to filter different categories in various places of the category hierarchy, that does not work any more…

    Comment by Ivan Herman — August 11, 2007 @ 10:30

RSS feed for comments on this post.

Create a free website or blog at WordPress.com.

%d bloggers like this: