Is it possible to fix the issue with it only reporting a new news feed when it's the first one in the RSS feed? For example it won't announce a new news article if it's been inserted further down into the RSS feed. It's possible, worth putting on the issue tracker as a suggestion. http://code.googl...
1) Yep, multiple feeds are fetched at the same time asynchronously. The feeds config is passed along to the rest of the functions. Only one loop is and for destination and they're calculated each time because it's possible the bot has changed the channels it's on. Probably would make more sense to m...
1) Just sends individual messages to each destination. 2) Could you give me an example? 3) Checks the first character of the destination. That whole statements makes sure for each destination that it is either a channel of some sort and the bot is joined or it's a nick. Stops the bot sending message...
I loaded this rss script onto like 3/4 bots with like 8 rss feeds and it was using around 6% cpu and 4% cpu. I tried using the latest version b2 tried b1 and older and still uses the same amount of cpu. I even just used one feed and it used around that much cpu/ram.. Consistantly or only while pars...
Not quite sure what your issue is. I've tested it with rss-synd v0.5b1 using the default global config and the following feed config and it announces as expected. set rss(IMS) { "url" "http://www.imscouting.com/rss/" "channels" "#channel1 #channel2" "outp...
@x0x Resolved my previous error, setting file permissions can do the trick ;) Is there some way to convert the long urls in some outputs to tinyurl or some other short url service automatically? Check out Racle's post on the last page: http://forum.egghelp.org/viewtopic.php?p=92311#92311 @fewyn RSS ...
You should use ::http::cleanup systematically (even if an error occurs) because after a long uptime, the memory is full of arrays that looks like $::http::561 and that contains the parsed web pages. Thank you for this excellent script, I've been using it for years. Thanks, i've made the changes in ...
@assgier You're right, the code couldn't handle self closing tags within a parent tag of the same name. Luckily its a very simple fix. look for line: incr tmp_num [regexp -all -- "<$tag_name\(|.\[^>\]+\)>" [string range $xml_data $last_tag_end_last $tag_end_last]] and replace it with: incr...
The script uses rather simple checking to figure out what items are new. It will check each item in the feed against the cache and announce them until a match is found. It would be somewhat possible to get around SkySports is doing. The checking could be changed to announce all unknown items. If you...
well you can almost everytime get the async behavior by using fileevent. http has fileevents with callbacks already included, sockets work find with them server anyway. and where is the problem to bind for whois numeric for join binds? they are all much less trouble then somehow getting vwait to wo...