RSS feed creation?
Adam Tauno Williams
awilliam at whitemice.org
Mon Nov 7 11:54:52 EST 2011
On Mon, 2011-11-07 at 08:22 +0100, Stefan Behnel wrote:
> Dan Stromberg, 06.11.2011 21:00:
> > Is there an opensource Python tool for creating RSS feeds, that doesn't
> > require large dependencies?
> > I found feedformatter.py on pypi, but it seems a little old, and its sole
> > automated test gives a traceback.
> > Is there a better starting point?
> > (I'd of course prefer something that'll run on 3.x and 2.x, but will settle
> > for either)
> I'd just go with ElementTree and builder.py.
> http://effbot.org/zone/element-builder.htm
+1
<http://docs.python.org/library/xml.etree.elementtree.html>
RSS is just XML, just use the XML toolchain.
And use <http://validator.w3.org/feed/#validate_by_input> to check what
you create.
More information about the Python-list
mailing list