summaryrefslogtreecommitdiff
path: root/sfeedrc.example
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 14:57:22 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 14:57:22 +0200
commit6df391bcd6dc4cd03349907400d98e6445211f66 (patch)
tree156aef84f463ece9d723c60ccc13de826d226974 /sfeedrc.example
parentdb5ffcaa8c133d249aafa4a64f3d827dd513d995 (diff)
Add base url of a site parameter for sfeedrc
This allows to have a feed on a different domain but specify the base url of links if links in the feed are relative. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeedrc.example')
-rw-r--r--sfeedrc.example10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfeedrc.example b/sfeedrc.example
index d25777a..2ad860a 100644
--- a/sfeedrc.example
+++ b/sfeedrc.example
@@ -6,12 +6,12 @@
# list of feeds to fetch:
feeds() {
- # feed <name> <url> [encoding]
+ # feed <name> <feedurl> <basesiteurl> [encoding]
feed "codemadness" "http://www.codemadness.nl/blog/rss.xml"
feed "explosm" "http://feeds.feedburner.com/Explosm"
- feed "linux kernel" "http://kernel.org/kdist/rss.xml" "iso-8859-1"
+ feed "linux kernel" "http://kernel.org/kdist/rss.xml" "http://kernel.org" "iso-8859-1"
feed "phoronix" "http://feeds.feedburner.com/Phoronix"
- feed "slashdot" "http://rss.slashdot.org/Slashdot/slashdot"
- feed "tweakers" "http://feeds.feedburner.com/tweakers/mixed" "iso-8859-1"
- feed "xkcd" "http://xkcd.com/atom.xml"
+ feed "slashdot" "http://rss.slashdot.org/Slashdot/slashdot" "http://slashdot.org"
+ feed "tweakers" "http://feeds.feedburner.com/tweakers/mixed" "http://tweakers.net" "iso-8859-1"
+ feed "xkcd" "http://xkcd.com/atom.xml" "http://xkcd.com"
}