RSS Subversion Change Log

Recently I needed to put the change log from our subversion repository online.  Luckily, Martin Pittenauer put together a great XSLT script that turns the XML produced by the SVN Log command into an RSS feed.  It utilizes eXSLT so you'll need to use a compatible XSLT tranform tool.

Step 1) Download the XSLT from Martin Pittenauer:
See his blog post for details http://codingmonkeys.de/map/log/articles/2003/10/07/svnlog-xslt

Step 2) Modify XSLT
Change the description, copyright, etc. in the XSLT to match your project

Step 3) Create script to pull log from XML and convert to RSS: 

Step 4) Schedule it using Windows Task Scheduler or CRON

This will publish your recent changes out to the feed.  It can then be viewed by IE7 or another RSS reader.

NOTE: You can pull recent changes on a branch, etc. by changing the URL passed to the svn log command.

 

 

Published Saturday, September 02, 2006 10:04 PM by brian_ritchie
Filed under: ,

Comments

Sunday, September 03, 2006 10:31 PM by Christopher Steen

# Link Listing - September 3, 2006

RSS Subversion Change Log [Via: brian_ritchie ] XML Notepad 2006 [Via: Ryan Carter ] Updated Windows...

Wednesday, November 28, 2007 11:13 AM by RSS Subversion Change Log

# RSS Subversion Change Log

Pingback from  RSS Subversion Change Log

Tuesday, July 01, 2008 7:23 AM by Jonas

# re: RSS Subversion Change Log

Where to find that nxslt2.exe? Can anyone provide a download location?

The real page for nxslt2.exe gives me a error.

Wednesday, July 02, 2008 10:37 AM by Jonas

# re: RSS Subversion Change Log

Found a copy bundled with some other application :)

Thank you for this tip, works great!

One question: can I transform all Chr(13) entries to BR-tags? That would allow me to show new lines in the RSS-feed.

Monday, July 14, 2008 9:30 PM by Brian Ritchie's Blog

# Keeping an eye on your Subversion repository

If you're like me, you like to keep an eye on what is being committed to your subversion repository.

Wednesday, December 03, 2008 3:25 AM by Cieszak

# re: RSS Subversion Change Log

There was incompatibility problem. When i generate my rss with this xslt, thunderbird won't get messages.

Solution: add link tag to item

(also I done some improvements, working with http://validator.w3.org/feed/ which may be required too)

besides... great thing :)

Leave a Comment

(required) 
(required) 
(optional)
(required)