[darcs-users] darcs2rss [was Re: darcs repo to RSS feed?]
Pedro Melo
melo at simplicidade.org
Fri Dec 3 23:48:15 UTC 2004
Hi,
On 3/dez/2004, at 19:43, Bennett Todd wrote:
> This is definitely moving into the realms of stuff I should research
> myself, I'll understand if you don't feel like babysitting me, but
> any tips as to what sort of tooling is involved in taking your XSLT
> stylesheet and a working darcs install and producing a completely
> automated RSS feed of a darcs repo?
Ok, this is version 0.1, after 40 minutes hacking on it.
I'll put a repo online next week, in case you want to hack it.
Edit the initial part of the script to change some of the RSS feed
parameters (title, description, link).
BTW, I use NetNewsWire and execute this with Scripted feeds.
usage: darcs2rss repo_dir > feed.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs2rss
Type: application/octet-stream
Size: 2669 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20041203/e4923aff/attachment.obj
-------------- next part --------------
Brief roadmap:
- put the variables that you need to edit as parameters or as a
config file;
- get feedback and improve :)
BTW, is there any dir inside _darcs that we can use to place the config
file? It makes sense to have a config file per repo.
Another question: is darcs getting hooks? like _darcs/hook/post-record
is a file that get's executed after each record...
Best regards,
--
This space left blank (until I find something funny to put in here)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2371 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20041203/e4923aff/attachment.bin
More information about the darcs-users
mailing list