[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Atom 1.0 feeds for subversion

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-07-14 16:46:19 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.