]> code.citadel.org Git - citadel.git/blob - rss2ctdl/do_feeds.sh-EXAMPLE
cbdb5dea2bbbc3c487eeaa7045f1da5abd9e8aca
[citadel.git] / rss2ctdl / do_feeds.sh-EXAMPLE
1 #!/bin/bash
2
3 # Example RSS feed suck-o-matic script.
4 #
5 # This script is UNSUPPORTED.  It is part of a technology preview for
6 # functionality which will eventually ship as part of the Citadel system. 
7
8 # Paths to the RSS2CTDL binary and to the Citadel directory
9 PROG=/usr/local/rss2ctdl/rss2ctdl
10 CTDL=/usr/local/citadel
11
12 # Do one of these for each feed.  You need the URL of the feed, the name
13 # of the room to dump it into, and a domain name to stamp onto messages
14 # and message ID's.
15 #
16 $PROG http://lxer.com/module/newswire/headlines.rss LXer lxer.com $CTDL
17 $PROG http://slashdot.org/index.rss Slashdot slashdot.org $CTDL
18 $PROG http://www.groklaw.net/backend/GrokLaw.rdf Groklaw groklaw.net $CTDL
19 $PROG http://www.ioerror.us/feed/rss2/ Lizard ioerror.us $CTDL