Hi... I need some help because i can't make your tcl run on my bot...
I have your tcl like this:
Code: Select all
# Start of Settings
#
namespace eval ::rss-synd {
variable rss
variable default
set rss(OJogo) {
"url" "http://www.ojogo.pt/rss/Noticias.rss"
"channels" "#Anti-SexAppeal"
"database" "./scripts/feeds/ojogo.db"
"output" "\\\[\002OJogo\002\\\] @@item!title@@ (@@item!slash:section@@) - \[string map { \"&from=rss\" \"\" } \"@@item!feedburner:origLink@@\"\]"
"trigger" "!@@feedid@@"
"evaluate-tcl" 1
}
And:
Code: Select all
set default {
"announce-output" 3
"trigger-output" 3
"remove-empty" 1
"trigger-type" 0:2www
"announce-type" 0
"max-depth" 5
"evaluate-tcl" 0
"update-interval" 30
"output-order" 0
"timeout" 60000
"channels" "#Anti-SexAppeal"
"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.11) Gecko/20071127 Firefox/2.0.0.11"
}
}
#
# End of Settings
And when i trigger the script with the command "!OJogo" it returns the following error:
[20:48] RSS Warning: couldn't open "./scripts/feeds/ojogo.db": permission denied.
The folder ./script/feeds is created and i set it's permitions to 666 with the command chmod 666 /scripts/feeds
What am i missing?
And the trigger to activate the script is !feedname or !rss feedname?
And the link to your website doesn't work...
Cheers
Edit;
Well, i decided to put in the tcl the complete path to the feed folder and i also created the file ojogo.db.
Now when i do .save and .rehash the following error comes up:
RSS Error: Invalid 'trigger-type' syntax for feed "OJogo".
Can you help me???