[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: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2006-07-14 17:22:56 CEST

> 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

Yeah, it is almost similar to rss feeds and it is simple. I've attached
a sample ATOM 1.0 feed.

> 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

By redoing so, what we are going to achieve ? Are there any complaints
about using PyRSS2Gen from the users ? I'm unsure about its current
state. IMO, PyRSS2Gen is available in all package formats (for example,
in Ubuntu, by default it is available in universe repository). So, if we
can do things smartly and easily using available libraries, why we
should puddle with 'print' statements to generate the xml content when
things are already stable.

> '<link>' strings is rocket science, and now your script works completely
> with stock Python modules.

Yeah, we can use 'print "<item>i am summary</item>"'. But, how is it
different from using python libraries ? IMO, if we use python libraries,
it'll be easy to maintain and in case there is a revision (example: ATOM
2.0), we can add a new plugin easily. It's just my opinion though,
comments are welcome.

-- 
Regards,
Bhuvaneswaran

Received on Fri Jul 14 17:23:32 2006

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