-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathrss-synd-settings.tcl
111 lines (98 loc) · 2.99 KB
/
rss-synd-settings.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#
# Start of Settings
#
#
# See the README file for more information
#
namespace eval ::rss-synd {
variable rss
variable default
set rss(slashdot) {
"url" "http://rss.slashdot.org/Slashdot/slashdot"
"channels" "#channel1"
"database" "./scripts/feeds/slashdot.db"
"output" "\\\[\002Slashdot\002\\\] @@item!title@@ (@@item!slash:section@@) - \[string map { \"&from=rss\" \"\" } \"@@item!feedburner:origLink@@\"\]"
"trigger" "!@@feedid@@"
"evaluate-tcl" 1
}
#set rss(test1) {
# "url" "http://www.pheedo.com/f/newscientist_space/atom10"
# "channels" "#test"
# "database" "./scripts/feeds/test1.db"
# "trigger" "!@@feedid@@"
#}
#set rss(test2) {
# "url" "http://milw0rm.com/rss.php"
# "channels" "#test"
# "database" "./scripts/feeds/test2.db"
# "trigger" "!@@feedid@@"
#}
#set rss(test3) {
# "url" "http://www.kvirc.net/rss.php"
# "channels" "#test"
# "database" "./scripts/feeds/test3.db"
# "output" "\[\002@@channel!title@@\002\] @@item!title@@ - @@item!guid@@"
# "trigger" "!@@feedid@@"
#}
#set rss(test4) {
# "url" "http://www.imaginascience.com/xml/rss.xml"
# "channels" "#test"
# "database" "./scripts/feeds/test4.db"
# "trigger" "!@@feedid@@"
#}
# Doesn't work with "charset" "utf-8" because TCL converts characters
# with umlauts in to multibyte characters (eg: ü = ü). Works fine
# without.
#set rss(test5) {
# "url" "http://www.heise.de/newsticker/heise-atom.xml"
# "channels" "#test"
# "database" "./scripts/feeds/test5.db"
# "trigger" "!@@feedid@@"
#}
#set rss(test6) {
# "url" "http://news.google.ru/?output=rss"
# "channels" "#test"
# "charset" "utf-8"
# "database" "./scripts/feeds/test6.db"
# "trigger" "!@@feedid@@"
#}
#set rss(test7) {
# "url" "http://news.google.cn/?output=rss"
# "channels" "#test"
# "charset" "utf-8"
# "database" "./scripts/feeds/test7.db"
# "trigger" "!@@feedid@@"
#}
#set rss(test8) {
# "url" "http://news.google.it/?output=rss"
# "channels" "#test"
# "charset" "utf-8"
# "database" "./scripts/feeds/test8.db"
# "trigger" "!@@feedid@@"
#}
# The default settings, If any setting isn't set for an individual feed
# it'll use the defaults listed here.
#
# WARNING: You can change the options here, but DO NOT REMOVE THEM, doing
# so will create errors.
set default {
"announce-output" 3
"trigger-output" 3
"remove-empty" 1
"trigger-type" 0:2
"announce-type" 0
"max-depth" 5
"evaluate-tcl" 0
"update-interval" 30
"output-order" 0
"timeout" 60000
"channels" "#channel1"
"trigger" "!rss @@feedid@@"
"output" "\[\002@@channel!title@@@@title@@\002\] @@item!title@@@@entry!title@@ - @@item!link@@@@entry!link!=href@@"
"user-agent" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2"
}
}
#
# End of Settings
#
################################################################################