Mercurial > hg > egg-tcls
annotate config.feeds.example @ 698:6ba9f961e463 default tip
quotedb: Bump version and copyright.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 18 Sep 2023 11:38:41 +0300 |
parents | 8bde8f798188 |
children |
rev | line source |
---|---|
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 ########################################################################## |
266 | 2 # |
3 # Feeds script and fetcher script configuration | |
4 # | |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
5 ########################################################################## |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
7 # SQLite3 database |
605
1d39db72e190
feeds: Rename SQLite3 database filename configuration variable.
Matti Hamalainen <ccr@tnsp.org>
parents:
566
diff
changeset
|
8 set feeds_db_file "/home/niinuska/bot/feeds.sqlite" |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
9 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
10 |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
11 proc feeds_cmd_pub_last {unick uhost uhand uchan utext} { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
12 return [feeds_cmd $unick $uhost $uhand $uchan "last $utext" 1] |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
13 } |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
14 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
15 proc feeds_cmd_msg_last {unick uhost uhand utext} { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
16 return [feeds_cmd $unick $uhost $uhand "PRIV" "last $utext" 0] |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
17 } |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
18 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
19 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
20 proc feeds_cmd_pubm_last {unick uhost uhand uchan utext} { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
21 return [feeds_cmd $unick $uhost $uhand $uchan "last [feeds_cmdm_split $utext]" 1] |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
22 } |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
23 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
24 proc feeds_cmd_msgm_last {unick uhost uhand utext} { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
25 return [feeds_cmd_msg $unick $uhost $uhand "PRIV" "last [feeds_cmdm_split $utext]" 0] |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
26 } |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
27 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
28 |
564
f85b5c572292
feeds: Add configuration setting feeds_cmd_name.
Matti Hamalainen <ccr@tnsp.org>
parents:
557
diff
changeset
|
29 # Name of the command used for help texts |
f85b5c572292
feeds: Add configuration setting feeds_cmd_name.
Matti Hamalainen <ccr@tnsp.org>
parents:
557
diff
changeset
|
30 set feeds_cmd_name "!feeds" |
f85b5c572292
feeds: Add configuration setting feeds_cmd_name.
Matti Hamalainen <ccr@tnsp.org>
parents:
557
diff
changeset
|
31 |
f85b5c572292
feeds: Add configuration setting feeds_cmd_name.
Matti Hamalainen <ccr@tnsp.org>
parents:
557
diff
changeset
|
32 |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
33 # Initialization proc called only by feeds.tcl |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
34 proc feeds_init { } { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
35 # Bind commands |
662
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
36 bind pub - !feed feeds_cmd_pub |
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
37 bind pub - !feeds feeds_cmd_pub |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
38 bind pub - !last feeds_cmd_pub_last |
662
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
39 bind pub - !latest feeds_cmd_pub_last |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
40 |
662
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
41 bind msg - !feed feeds_cmd_msg |
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
42 bind msg - !feeds feeds_cmd_msg |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
43 bind msg - !last feeds_cmd_msg_last |
662
bb6aea76cdb4
feeds: Fix binds to actually work.
Matti Hamalainen <ccr@tnsp.org>
parents:
605
diff
changeset
|
44 bind msg - !latest feeds_cmd_msg_last |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
45 } |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
46 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
47 |
663
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
48 # Sub-command name regexp patterns |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
49 array set feeds_commands { |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
50 "help" {^(\?|help|apua)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
51 "latest" {^(last|latest|uusin?)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
52 "force" {^(force?|fet|fetch)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
53 "list" {^(list|listaa?)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
54 "history" {^(hist|historia)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
55 "all" {^(all|long|kaikki)$} |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
56 } |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
57 |
8bde8f798188
feeds: Use command matching helpers.
Matti Hamalainen <ccr@tnsp.org>
parents:
662
diff
changeset
|
58 |
527 | 59 # Proc for fetching the feeds data, called by fetch_feeds.tcl |
484
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
60 proc feeds_fetch { } { |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
61 #fetch_poliisi "http://www.poliisi.fi/oulu/tiedotteet/1/0?all1/0" "Poliisi/Oulu" "http://www.poliisi.fi" |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
62 |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
63 fetch_halla_aho |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
64 |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
65 fetch_adventurers |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
66 |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
67 fetch_oots |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
68 |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
69 add_rss_feed "https://effi.org/feed/" "EFFI" "" |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
70 } |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
71 |
35d7be5db18b
fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents:
362
diff
changeset
|
72 |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
73 # How often to check for newly added feed items from the database? |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
74 # (in minutes) This has nothing to do how often the backend script |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
75 # is run and actually scans / pulls the feeds, that is done in CRON. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
76 # See get_feeds.tcl for more information. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
77 set feeds_check_period 5 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
78 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
79 |
351
0f55bbb7fea3
feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
266
diff
changeset
|
80 # Limit / number of new feed items allowed to be published |
0f55bbb7fea3
feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
266
diff
changeset
|
81 # after which situation is considered unsynchronized / spam and |
0f55bbb7fea3
feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
266
diff
changeset
|
82 # none of the new items are published. |
362
e5a9aaf250b3
feeds: Lower the default feeds item limit value in example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
351
diff
changeset
|
83 set feeds_sync_limit 10 |
351
0f55bbb7fea3
feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
266
diff
changeset
|
84 |
0f55bbb7fea3
feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
266
diff
changeset
|
85 |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
86 # Set channels and feed filters here: |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
87 # "#channel" "feedname|feedname2" |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
88 # feednames can use matching, e.g. "mtv3*" would match all beginning with "mtv3" |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
89 array set feeds_channels { |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
90 "#mazmlame" "the adventurers|oots|mestari|effi" |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
91 "#fireball" "mestari|effi" |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
92 } |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
93 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
94 |
565 | 95 # History limit |
96 set feeds_history_limit 4 | |
97 | |
98 | |
526
eb9921ae5c7a
feeds: Add feeds_logmsg setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
484
diff
changeset
|
99 # 1 = Enable logging of various script actions into bot's log |
eb9921ae5c7a
feeds: Add feeds_logmsg setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
484
diff
changeset
|
100 # 0 = Don't. |
550
85fe3bc36307
Rename *_logmsg settings to *_log_enable.
Matti Hamalainen <ccr@tnsp.org>
parents:
549
diff
changeset
|
101 set feeds_log_enable 1 |
526
eb9921ae5c7a
feeds: Add feeds_logmsg setting.
Matti Hamalainen <ccr@tnsp.org>
parents:
484
diff
changeset
|
102 |
527 | 103 |
104 # What IRC "command" should we use to send messages: | |
105 # (Valid alternatives are "PRIVMSG" and "NOTICE") | |
265
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
106 set feeds_preferredmsg "PRIVMSG" |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
107 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
108 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
109 ### |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
110 ### HTTP options |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
111 ### |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
112 # Set to 1 if you want to enable use of HTTP proxy. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
113 # If you do, you MUST set the proxy settings below too. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
114 set http_use_proxy 0 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
115 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
116 # Proxy host and port number (only used if enabled above) |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
117 set http_proxy_host "" |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
118 set http_proxy_port 8080 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
119 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
120 # Enable TLS/SSL support. You need to set http_tls_cadir. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
121 set http_tls_support 1 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
122 set http_tls_cadir "/usr/share/ca-certificates/mozilla" |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
123 |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
124 # Set 'user agent' string for HTTP. If empty or not set, default will be used. |
908edc54005a
feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
125 #set http_user_agent "Mozilla" |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
126 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
127 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
128 ### |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
129 ### Messages |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
130 ### |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
131 |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
132 array set feeds_messages { |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
133 |
565 | 134 "help_full" {"help_latest" "help_list" "help_history" "help_force"} |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
135 "help_short" "@cmd@ latest \[<feedin nimi patterni>\] \002|\002 hist \[<feedin nimi patterni>\] \002|\002 list \[long\] \[<feedin nimi patterni>\]" |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
136 |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
137 "help_latest" "@cmd@ latest \[<feedin nimi patterni>\]" |
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
138 |
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
139 "chk_unsync_entries" "Epäsynkki tai liikaa uusia feedejä." |
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
140 "chk_new_entries" "@1@ uutta sitten ajankohdan @2@ / @3@." |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
141 "chk_entry" "@1@: @4@ \002@2@\002 -- @3@" |
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
142 |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
143 "search_latest_feed" "Uusin '\002@1@\002' / @2@: @3@ -- @4@" |
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
144 "search_no_matches" "Ei osumia haulla '\002@1@\002'." |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
145 |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
146 "feed_list_active" "Aktiiviset feedit (uudemmat kuin \002@1@\002) -- @2@" |
565 | 147 "feed_list_all" "Kaikki feedit:\n@1@" |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
148 "feed_list_filter" "Kaikki '\002@1@\002' mätsäävät feedit:\n@2@" |
565 | 149 |
150 "feed_list_item_short" "@1@ (@2@)" | |
151 "feed_list_sep_short" ", " | |
152 | |
153 "feed_list_item_long" "@1@ (@2@) @3@ @4@" | |
154 "feed_list_sep_long" "\n" | |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
155 |
565 | 156 "feed_list_long_denied" "EIII PYSTY, koita privana @cmd@ @1@" |
157 "help_list" "@cmd@ list \[long\] \[feedin nimi patterni\]" | |
158 | |
159 "history_list" "Feedin '@1@' historia:\n@2@" | |
160 "history_list_item" "@3@: '@2@' -- @1@" | |
161 "history_list_sep" "\n" | |
162 | |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
163 "help_history" "@cmd@ hist <feedin nimi patterni>" |
565 | 164 |
566
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
165 "multiple_matches" "'@1@' mätsää useampaan kuin yhteen feedin nimeen." |
4cd72a178cbf
feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
166 "no_matches" "Ei löydy feediä haulla '@1@'." |
565 | 167 |
168 "help_force" "@cmd@ force" | |
549
c6f389bef58e
feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents:
527
diff
changeset
|
169 } |