view config.feeds.example @ 415:ff932030a9b3

weather: Bump version.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 07 Jan 2017 22:41:07 +0200
parents e5a9aaf250b3
children 35d7be5db18b
line wrap: on
line source

##########################################################################
#
# Feeds script and fetcher script configuration
#
##########################################################################

# 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


# Limit / number of new feed items allowed to be published
# after which situation is considered unsynchronized / spam and
# none of the new items are published.
set feeds_sync_limit 10


# 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"