Script has been working great however it seems to be confused with the most recent post from a feed as it is not recognizing that it has already posted to the chat. every 15min is posts the same headline over and over. rehashing the script/triggering it again has not ended the loop. any tips?
*edit*
got the above fixed. Another minor issue poped up. I have a rss feed updated every 2 min on an internal lan that the script checks every 5m and should be posted to chat every 5 min (the title/description and link are timesstamped each time so it always apears as a new post)
i can see the script checking every 5 min from httpd logs, and no errors there. also !trigger shows the updated feed every 5 min, however it doesn't automaticly post every 5min to chat. I am using a base v0.5b1 install
Code: Select all
set rss(test) {
"url" "http://192.168.0.217/feed.xml"
"channels" "#mychan"
"database" "./scripts/feeds/test.db"
"evaluate-tcl" 1
"output" "\\\[\002\00307@@channel!title@@@@title@@\003\002\\\] @@item!title@@"
"trigger" "!trig"
}
set default {
"announce-output" 3
"trigger-output" 3
"remove-empty" 1
"trigger-type" 0:2
"announce-type" 0
"max-depth" 2
"evaluate-tcl" 1
"update-interval" 5
"output-order" 1
"timeout" 60000
"channels" "#mychan"
"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"
}
any ideas? the output line is actually all on 1 line in the script
**edit**
got this all fixed, changed announce output to 1 and also time stamped every link/description/title tag in the entire rss feed that being generated. deleted the old .db file and started it up again. so far so good!
Here's a killer request..... have the ability to post the output to twitter! Speechles, saw your twitter and tweets V3.3. Is it possible to install that and have an output line in the rss script set to automaticly msg itself the trigger and syntax to tweet?