Svn→2→Rss

Get Version

0.1.0

Svn2Rss is a simple library to change your commits into a feed.

So you go that killer app project that you just want to showcase to everybody.

You’ve set up the commit emails, the Google groups, but something is missing on the website.

Maybe showing the latest commits will convince everybody!

Installing

As all gems go, all you need is the magic words:

sudo gem install svn2rss

The basics

# the module to include in your script.
self.include Svn2rss
# parse the svn log
entries = parseSvnLog("http://myfeed.com/rss")
# create your own feed
feed = createRSSFeed(entries, "http://myfeed.com/rss", "My very own title", "My description of the feed", "en", "managingEditor@myfeed.com", "webmaster@myfeed.com")
# Well, as you can see the API is clearly not optimized. Still working on that particular point, so expect your API to break often till 1.0.

Demonstration of usage

Some examples are ready made in the server directory of the source.

Here is its own feed:http://www.lunar-ocean.com/feed/svn2rss.rss to see it in action ! Still have to do a nice example right here. TODO

Forum

Google Groups
Subscribe to svn2rss
Email:
Visit this group

How to submit patches

Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.

The trunk repository is svn://rubyforge.org/var/svn/svn2rss/trunk for anonymous access.

License

This code is free to use under the terms of the Apache 2 license.

Contact

Comments are welcome. Send an email to Antoine Toulme via the forum

Antoine Toulme, 23rd September 2007
Theme extended from Paul Battley