annotate config.feeds.example @ 662:bb6aea76cdb4

feeds: Fix binds to actually work.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 20 Feb 2021 17:35:07 +0200
parents 1d39db72e190
children 8bde8f798188
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
265
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 ##########################################################################
266
8f5daf6631d9 Add comment.
Matti Hamalainen <ccr@tnsp.org>
parents: 265
diff changeset
2 #
8f5daf6631d9 Add comment.
Matti Hamalainen <ccr@tnsp.org>
parents: 265
diff changeset
3 # Feeds script and fetcher script configuration
8f5daf6631d9 Add comment.
Matti Hamalainen <ccr@tnsp.org>
parents: 265
diff changeset
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
527
461be6f596bd Add comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 526
diff changeset
48 # 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
49 proc feeds_fetch { } {
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
50 #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
51
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
52 fetch_halla_aho
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
53
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
54 fetch_adventurers
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
55
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
56 fetch_oots
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
57
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
58 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
59 }
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
60
35d7be5db18b fetch_feeds: Move the actual calling of fetching functions to the
Matti Hamalainen <ccr@tnsp.org>
parents: 362
diff changeset
61
265
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 # 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
63 # (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
64 # 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
65 # See get_feeds.tcl for more information.
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66 set feeds_check_period 5
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68
351
0f55bbb7fea3 feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents: 266
diff changeset
69 # 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
70 # 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
71 # 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
72 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
73
0f55bbb7fea3 feeds: Improve safety checks and add new configuration setting.
Matti Hamalainen <ccr@tnsp.org>
parents: 266
diff changeset
74
265
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
75 # Set channels and feed filters here:
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
76 # "#channel" "feedname|feedname2"
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77 # 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
78 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
79 "#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
80 "#fireball" "mestari|effi"
265
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
81 }
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
82
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
83
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
84 # History limit
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
85 set feeds_history_limit 4
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
86
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
87
526
eb9921ae5c7a feeds: Add feeds_logmsg setting.
Matti Hamalainen <ccr@tnsp.org>
parents: 484
diff changeset
88 # 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
89 # 0 = Don't.
550
85fe3bc36307 Rename *_logmsg settings to *_log_enable.
Matti Hamalainen <ccr@tnsp.org>
parents: 549
diff changeset
90 set feeds_log_enable 1
526
eb9921ae5c7a feeds: Add feeds_logmsg setting.
Matti Hamalainen <ccr@tnsp.org>
parents: 484
diff changeset
91
527
461be6f596bd Add comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 526
diff changeset
92
461be6f596bd Add comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 526
diff changeset
93 # What IRC "command" should we use to send messages:
461be6f596bd Add comments.
Matti Hamalainen <ccr@tnsp.org>
parents: 526
diff changeset
94 # (Valid alternatives are "PRIVMSG" and "NOTICE")
265
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
95 set feeds_preferredmsg "PRIVMSG"
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
96
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
97
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
98 ###
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
99 ### HTTP options
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
100 ###
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
101 # 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
102 # 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
103 set http_use_proxy 0
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
104
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
105 # 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
106 set http_proxy_host ""
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
107 set http_proxy_port 8080
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 # 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
110 set http_tls_support 1
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
111 set http_tls_cadir "/usr/share/ca-certificates/mozilla"
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
112
908edc54005a feeds: Move configuration to separate file.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
113 # 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
114 #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
115
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
116
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
117 ###
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
118 ### Messages
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
119 ###
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
120
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
121 array set feeds_messages {
c6f389bef58e feeds: Largely refactor feeds.tcl, bump version to 2.0.
Matti Hamalainen <ccr@tnsp.org>
parents: 527
diff changeset
122
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
123 "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
124 "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
125
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
126 "help_latest" "@cmd@ latest \[<feedin nimi patterni>\]"
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
127
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
128 "chk_unsync_entries" "Epäsynkki tai liikaa uusia feedejä."
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
129 "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
130 "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
131
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
132 "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
133 "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
134
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
135 "feed_list_active" "Aktiiviset feedit (uudemmat kuin \002@1@\002) -- @2@"
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
136 "feed_list_all" "Kaikki feedit:\n@1@"
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
137 "feed_list_filter" "Kaikki '\002@1@\002' mätsäävät feedit:\n@2@"
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
138
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
139 "feed_list_item_short" "@1@ (@2@)"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
140 "feed_list_sep_short" ", "
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
141
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
142 "feed_list_item_long" "@1@ (@2@) @3@ @4@"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
143 "feed_list_sep_long" "\n"
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
144
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
145 "feed_list_long_denied" "EIII PYSTY, koita privana @cmd@ @1@"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
146 "help_list" "@cmd@ list \[long\] \[feedin nimi patterni\]"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
147
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
148 "history_list" "Feedin '@1@' historia:\n@2@"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
149 "history_list_item" "@3@: '@2@' -- @1@"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
150 "history_list_sep" "\n"
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
151
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
152 "help_history" "@cmd@ hist <feedin nimi patterni>"
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
153
566
4cd72a178cbf feeds: More work and bugfixing.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
154 "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
155 "no_matches" "Ei löydy feediä haulla '@1@'."
565
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
156
cd5dd38466cf feeds: More refactoring.
Matti Hamalainen <ccr@tnsp.org>
parents: 564
diff changeset
157 "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
158 }