Python and the Universal Feed Parser
I'm giving myself a crash course in Python. The goal is to write a script called any2rss.py that will simply serve as an HTTP GET web service based on Mark Pilgrim's Universal Feed Parser.
Has someone already done this?
It would take just one query string parameter, url, fetch whatever is at that URL, and build a valid feed in whichever flavor of RSS or Atom I want to base my XSLT on.
Caching and redirection would be supported, of course. If-None-Match and If-Modified-Since headers in the request would simply be passed along. Redirection URLs would be converted to point to the script URL with the modified url parameter value.
Posted October 25, 2004 4:25 PM