This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 50 matches

by scotteh
Thu Jan 20, 2011 3:36 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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...
by scotteh
Thu Jan 13, 2011 6:05 pm
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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...
by scotteh
Thu Jan 13, 2011 4:13 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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...
by scotteh
Thu Oct 14, 2010 3:48 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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...
by scotteh
Thu Sep 09, 2010 5:06 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

You've copied the customised Slashdot 'output' which won't work correctly for other feeds.

You want something basic like:

Code: Select all

      "output"      "\\\[\0024corners\002\\\] @@item!title@@ - @@item!link@@
by scotteh
Sun May 23, 2010 4:44 am
Forum: Script Support & Releases
Topic: rssnews & rss-synd
Replies: 1
Views: 3707

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...
by scotteh
Fri Apr 16, 2010 2:04 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

You need to turn on evaluate-tcl, eg:

Code: Select all

		"output"			"\\\[\002NEW\002\\\] @@item!title@@ - \[tinyurl @@item!link@@\]"
		"evaluate-tcl"	1
As for the other issue, i'd need the url to work out what the problem is.
by scotteh
Wed Apr 14, 2010 8:31 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

@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 ...
by scotteh
Thu Apr 01, 2010 6:05 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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 ...
by scotteh
Sat Mar 27, 2010 3:56 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

I'd suggest using v0.5b over v0.4, it's far more stable than any of the previous releases.
by scotteh
Fri Mar 26, 2010 5:01 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

@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...
by scotteh
Thu Dec 10, 2009 9:27 pm
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

Fire-Fox wrote:i have a error when there is a & then the bot dies ? how can i fix that?
An '&' where? Could you could show me the tcl error you get in partyline before the eggdrop dies?
by scotteh
Wed Oct 14, 2009 1:18 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

Have you tried uping the timeout? Out of interest what tcl & http package versions are you using?
by scotteh
Tue Oct 13, 2009 8:37 am
Forum: Script Support & Releases
Topic: Eggdrop RSS Syndication (rss-synd) v0.5b1
Replies: 399
Views: 649838

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...
by scotteh
Fri Mar 20, 2009 12:48 pm
Forum: Modules & Programming
Topic: vwait / binds / eventloop
Replies: 11
Views: 22378

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...