diff config.feeds.example @ 265:908edc54005a

feeds: Move configuration to separate file.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 23 Jan 2015 10:15:38 +0200
parents
children 8f5daf6631d9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config.feeds.example	Fri Jan 23 10:15:38 2015 +0200
@@ -0,0 +1,44 @@
+##########################################################################
+##########################################################################
+
+# SQLite3 database
+set feeds_dbfile "/home/niinuska/bot/feeds.sqlite"
+
+
+# How often to check for newly added feed items from the database?
+# (in minutes) This has nothing to do how often the backend script
+# is run and actually scans / pulls the feeds, that is done in CRON.
+# See get_feeds.tcl for more information.
+set feeds_check_period 5
+
+
+# Set channels and feed filters here:
+# "#channel" "feedname|feedname2"
+# feednames can use matching, e.g. "mtv3*" would match all beginning with "mtv3"
+array set feeds_channels {
+  "#mazmlame" "the adventurers|oots|mestari|blastwave"
+  "#fireball" "mestari"
+  "#tnsp" "the adventurers|oots|mestari"
+}
+
+
+set feeds_preferredmsg "PRIVMSG"
+
+
+###
+### HTTP options
+###
+# Set to 1 if you want to enable use of HTTP proxy.
+# If you do, you MUST set the proxy settings below too.
+set http_use_proxy 0
+
+# Proxy host and port number (only used if enabled above)
+set http_proxy_host ""
+set http_proxy_port 8080
+
+# Enable TLS/SSL support. You need to set http_tls_cadir.
+set http_tls_support 1
+set http_tls_cadir "/usr/share/ca-certificates/mozilla"
+
+# Set 'user agent' string for HTTP. If empty or not set, default will be used.
+#set http_user_agent "Mozilla"