You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by SteveKing <st...@gmx.ch> on 2003/06/22 16:02:01 UTC
generate RSS feed in post-commit hook
Hi,
Attached is a small program which generates an rss feed
(xml-file) when run in a post-commit hook.
Run it like:
RSSFeed path_to_repo revnum path_to_config_file
The rss feed has the titles built from the username
who committed and the date/time.
The description field is the log-message.
The diff of the commit is saved in a separate file
and the rss-link is pointing to that file.
Please have a look at the config file to get a better
idea on how the rss feed will look like.
Note: this is a very quick hack just to make the
program do what I wanted. Most of the code
is copied from the svnlook part (changed where
necessary). No special attention was paid for
error handling or coding styles - but it works.
If someone wants to extend it: do it!
Stefan