On 11 Feb., 15:47, js <ebgs...@gmail.comwrote:
I'm looking for RSS/ATOM generator I can use in Python.
I searched on pypi and the other places but I couldn't find any
options on this. (I found many parsers, though)
Is there any de-fact standard RSS/ATOM generator? (especially, I'd
like to create Atom's)
Do I have to do it myself from scratch?
You didn't specify your use case very much. If you just want to add
support for generating Atom/RSS feeds to your app and the format (i.e.
which elements and attributes are used) isn't too dynamic, you could
just an XML-templating language like Kid or Genshi.
The feed generator included in TurboGears uses this approach. I
recently packaged this as a separate module:
http://chrisarndt.de/projects/turbofeeds/
The module still only makes sense in a TurboGears context but you may
want to look at the Kid templates used, they could be used by any app
that wants to generate Atom/RSS:
http://trac.turbogears.org/browser/p...eeds/templates
Chris