Is there any Generic RSS/ATOM generator in Python?

Stefan Behnel stefan_ml at behnel.de
Thu Feb 14 02:41:51 EST 2008


Torsten Bronger wrote:
> Terran Melconian writes:
> 
>> On 2008-02-11, js <ebgssth at gmail.com> wrote:
>>
>>> 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?
>> I looked into similar issues about six months ago.  My conclusion
>> was that generally XML generation libraries (unlike parsers) don't
>> get written, because there's little enough to them that it isn't
>> seen as worth doing, and that accepted practice is to just do it
>> yourself.
> 
> Maybe I understand you wrongly but there *is* a general XML
> generator with ElementTree.  I wouldn't generate XML directly but
> using ElementTree to generate Atom.  I did it myself three months
> ago and it was really trivial.

Actually, there's tons of XML generator packages (most of them single Python
modules), ElementTree itself and the "E factory" being only two of them.

Stefan



More information about the Python-list mailing list