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!
As all gems go, all you need is the magic words:
sudo gem install svn2rss
# 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", "firstname.lastname@example.org") # 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
|Subscribe to svn2rss|
|Visit this group|
How to submit patches
The trunk repository is
svn://rubyforge.org/var/svn/svn2rss/trunk for anonymous access.
This code is free to use under the terms of the Apache 2 license.