Bhuvaneswaran Arumugam wrote:
> Hello,
>
> I have been writing a python script (svn2atom.py) to generate Atom 1.0
> feeds for subversion. It is similar to the one we have for generating
> the RSS feeds(svn2rss.py).
>
> Here i provide a quick update about status of the script.
>
> The script is used to generate Atom 1.0 feeds for subversion. In order
> to strict to current scheme, i prefer to write a python script. When i
> looked around for a python library to generate Atom 1.0 feeds, i
> couldn't find one. So, i am using standard xml.dom and xml.utils
> libraries to generate Atom 1.0 feeds. I have completed the script to
> generate the feeds. Currently, i am trying to append items to an
> existing file using pickle library.
>
> Suggestions, feedbacks & corrections are welcome.
I'm not familiar with the atom feed format, but if its anywhere near as
simplistic as what we're getting out of svn2rss.py, you hardly need another
library. In fact, you could greatly enhance the usability of svn2rss.py by
removing its dependency on PyRSS2Gen -- it's not like print '<item>' and
'<link>' strings is rocket science, and now your script works completely
with stock Python modules.
--
C. Michael Pilato <cmpilato@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Fri Jul 14 16:46:53 2006