summaryrefslogtreecommitdiff
path: root/feed-transmission.example.ini
diff options
context:
space:
mode:
authorEric Anderson <ejona86@gmail.com>2010-08-13 16:57:56 -0500
committerEric Anderson <ejona86@gmail.com>2010-08-13 16:57:56 -0500
commitf3e08fcbcf8d052ac57188b3d31ab7bb38f322d5 (patch)
tree709ca84a905b8ce35cbb9b08a8e6bce778d4dd7e /feed-transmission.example.ini
parent775247e1ea09a18d47046f847e0aee4c733a7182 (diff)
downloadfeed-transmission-f3e08fcbcf8d052ac57188b3d31ab7bb38f322d5.tar.gz
feed-transmission-f3e08fcbcf8d052ac57188b3d31ab7bb38f322d5.zip
Begin using config file and begin to organize like a real application
Diffstat (limited to 'feed-transmission.example.ini')
-rw-r--r--feed-transmission.example.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/feed-transmission.example.ini b/feed-transmission.example.ini
new file mode 100644
index 0000000..857f177
--- /dev/null
+++ b/feed-transmission.example.ini
@@ -0,0 +1,16 @@
+; main section
+[config]
+; comma-delimited list of feeds. Name is used to look up section.
+feeds: example.com
+
+; name is not used except by 'feeds' key in 'config' section
+[example.com]
+; RSS/Atom feed url to fetch
+url: https://example.com/rss.php
+; number of seconds to delay between fetches of feed
+poll_delay: 3600
+; 'match'-prefixed items are OR'ed together to form a whitelist of items to
+; download. The value should be a regular expression
+match1: .*Thread: Some thread
+match2: .*Thread: Some other thread
+