Code: Select all
set rss(kvirc) {
"url" "http://www.kvirc.net/rss.php"
"database" "./scripts/feeds/kvirc.db"
"output" "\002[KVIrc]\002 @@item!title@@ \002[URL]\002 @@item!link@@ \002[RSS]\002"
"trigger" "!@@feedid@@"
"channels" "#kvirc"
"remove-empty" 1
"timeout" 60000
}
Code: Select all
#
# Start of Settings
#
namespace eval ::rss-synd {
variable rss
variable default
# This is an example of a basic feed, If you dont understand why all
# the \'s are in the examples below use this one as a template.
set rss(BL1Live) {
"url" "http://www.victipp.de/rss/liveerg_1bl_rss20.xml"
"channels" "#keywelt-sportsbar"
"database" "./scripts/1bl.db"
"output" "\0030,4[1.Bl. Live]\003 @@item!title@@"
"trigger" "! 1BL"
"evaluate-tcl" 1
"update-interval" 2
}
set rss(BL2Live) {
"url" "http://www.victipp.de/rss/liveerg_2bl_rss20.xml"
"channels" "#keywelt-sportsbar"
"database" "./scripts/2bl.db"
"output" "\0030,12[2.Bl. Live]\003 @@item!title@@"
"trigger" "! 2BL"
"evaluate-tcl" 1
"update-interval" 4
}
set rss(News) {
"url" "http://www.victipp.de/rss/news_fussball_rss20.xml"
"channels" "#keywelt-sportsbar"
"database" "./scripts/news.db"
"output" "\0030,3[News]\003 @@item!title@@"
"trigger" "! News"
"evaluate-tcl" 1
"update-interval" 15
}
# The default settings, If any setting isnt set for an individual feed
# it'll use the default listed here
#
# WARNING: You can change the options here, but DO NOT REMOVE THEM, doing
# so will cause errors.
set default {
"announce-output" 3
"trigger-output" 3
"remove-empty" 1
"trigger-type" 0:0
"announce-type" 1
"max-depth" 5
"evaluate-tcl" 0
"update-interval" 10
"output-order" 0
"timeout" 60000
"channels" "#keywelt-sportsbar"
"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 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
}
}
[19:54:29] <my_bot> [19:54] SCRIPT ERROR:rss-synd.tcl: missing close-brace: possible unbalanced brace in comment
[19:54:29] <my_bot> while executing
[19:54:29] <my_bot> "namespace eval ::rss-synd {
[19:54:29] <my_bot> variable rss
[19:54:29] <my_bot> variable default
[19:54:29] <my_bot> set rss(name) {
[19:54:29] <my_bot> "url""http://www.urlrulrulrlr.url/forum/exter ... ?type=RSS2"
[19:54:29] <my_bot> "..."
[19:54:29] <my_bot> (file "scripts/rss-synd.tcl" line 48)
[19:54:29] <my_bot> invoked from within
[19:54:29] <my_bot> "source scripts/$script"
What's can be wrong here?set rss(name) {
"url" "http://www.urlrulrulrlr.url/forum/exter ... ?type=RSS2"
"channels" "#channel"
"database" "./scripts/feeds/name.db"
"output" "\00300,14\[\00308\002!\002\00300\] \00300\002\00308NAME\00300\002 \[\00308\002!\002\00300\] @@item!title@@ \[\00308\002!\002\00300\] @@item!link@@ \[\00308\002!\002\00300\]\003"
"trigger" "!@@feedid@@"
}