[BangPypers] RSS feeds via python CGI

Senthil Kumaran S stylesen at gmail.com
Tue Apr 1 14:16:53 CEST 2008


I would like to serve RSS feeds from a python CGI script. Basically I
managed to generate the feeds file using PyRSS2Gen
(http://www.dalkescientific.com/Python/PyRSS2Gen.html). I construct
the whole rss feed as a string with the proper application header set
as ""application/rss+xml" and write the string as follows in my CGI




When I try to aggregate this feed I get the error "Invalid rss url" in
thunderbird. Should the feed be written to a file with extension
'.rss' and then the URL be given to a feed reader?

Senthil Kumaran S

More information about the BangPypers mailing list