Mercurial > hg > egg-tcls
comparison config.feeds.example @ 527:461be6f596bd
Add comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 07 Jul 2020 14:20:36 +0300 |
parents | eb9921ae5c7a |
children | c6f389bef58e |
comparison
equal
deleted
inserted
replaced
526:eb9921ae5c7a | 527:461be6f596bd |
---|---|
6 | 6 |
7 # SQLite3 database | 7 # SQLite3 database |
8 set feeds_dbfile "/home/niinuska/bot/feeds.sqlite" | 8 set feeds_dbfile "/home/niinuska/bot/feeds.sqlite" |
9 | 9 |
10 | 10 |
11 # Callback for fetching the feeds data | 11 # Proc for fetching the feeds data, called by fetch_feeds.tcl |
12 proc feeds_fetch { } { | 12 proc feeds_fetch { } { |
13 #fetch_poliisi "http://www.poliisi.fi/oulu/tiedotteet/1/0?all1/0" "Poliisi/Oulu" "http://www.poliisi.fi" | 13 #fetch_poliisi "http://www.poliisi.fi/oulu/tiedotteet/1/0?all1/0" "Poliisi/Oulu" "http://www.poliisi.fi" |
14 | 14 |
15 fetch_halla_aho | 15 fetch_halla_aho |
16 | 16 |
47 | 47 |
48 # 1 = Enable logging of various script actions into bot's log | 48 # 1 = Enable logging of various script actions into bot's log |
49 # 0 = Don't. | 49 # 0 = Don't. |
50 set feeds_logmsg 1 | 50 set feeds_logmsg 1 |
51 | 51 |
52 | |
53 # What IRC "command" should we use to send messages: | |
54 # (Valid alternatives are "PRIVMSG" and "NOTICE") | |
52 set feeds_preferredmsg "PRIVMSG" | 55 set feeds_preferredmsg "PRIVMSG" |
53 | 56 |
54 | 57 |
55 ### | 58 ### |
56 ### HTTP options | 59 ### HTTP options |