Re: [PATCH] Atom 1.0 feeds for subversion
From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-07-18 13:11:50 CEST
On Tue, Jul 18, 2006 at 02:52:18PM +0530, Bhuvaneswaran Arumugam wrote:
Nice! Here's another quick review, though not so much focussed on the
Some quick notes:
* The usage message could be a lot clearer. I couldn't determine what
* The output Atom file declares the XHTML namespace, but doesn't use it.
* There's a fair bit of unnecessary trailing whitespace in the file.
> + -f, --atom-file=PATH Store the ATOM feed in the file located at PATH,
In my testing, the script generated a file called '.atom', not
> + -u, --item-url=URL Use URL as the basis for generating ATOM item links.
The generated URL for each item is ITEM_URL?rev=N. That's a bit odd
> + -U, --feed-url=URL Use URL as the global ATOM feed link.
Atom feeds require both a feed URL and item URL - or perhaps you can drop
* The generated feeds don't pass the feed validator[1], since they lack an
Finally, I needed to apply the attached patch to get this to work
(Okay, I don't think I really needed to remove the StringIO import,
Regards,
[1] http://feedvalidator.org/, passing of which should be a prerequisite to
---------------------------------------------------------------------
|
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.