egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

perplexa's rssnews

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
janipewter
Voice


Joined: 22 Jan 2006
Posts: 16

PostPosted: Sat Jan 28, 2006 1:49 pm    Post subject: perplexa's rssnews Reply with quote

Ok, I stuck this script on my eggdrop and when I rehashed it said I needed TCL 8.4 or higher to work, so I've installed TCL 8.4 now and rehashed/restarted the bot, and it still says the same.

Quote:
[08:32] You don't have TCL 8.4, you have to upgrade to version 8.4 or higher to use rss.tcl.


I'm guessing it's because I've installed TCL 8.4 in my home directory rather than /usr/bin or whatever the default is, because I don't have root. Is there anyway to make it point to /home/janipewter/tcl (where I installed 8.4) rather than it finding the older version?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Jan 28, 2006 3:37 pm    Post subject: Reply with quote

rebuild eggdrop, using your local Tcl installation (--with-tcllib and --with-tclinc options of configure)

you better use RSS script that is supported here (do a forum search); perplexa is not on these forums and his/her script is not supported here
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
janipewter
Voice


Joined: 22 Jan 2006
Posts: 16

PostPosted: Sat Jan 28, 2006 5:20 pm    Post subject: Reply with quote

Thanks for the help. Are they any you can recommend to me which don't requre me either a) having root; or b) having to install countless packages. All I need it to do is let me input a url to an RSS feed and have it post the latest news to a channel whenever the feed is updated.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Jan 28, 2006 5:36 pm    Post subject: Reply with quote

I believe my script will do the job for you
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
janipewter
Voice


Joined: 22 Jan 2006
Posts: 16

PostPosted: Sat Jan 28, 2006 7:07 pm    Post subject: Reply with quote

Ok, thanks.

I've got it going now, except it doesn't seem to be pulling the RSS feed.

I have this in the config:

Code:
set feeds(#mtavcsux) {10 http://forum.mtavc.com/rss.php}


But it keeps giving me:

Quote:
(23:07:11) (~Jani) !rss #mtavcsux
(23:07:13) (~Ghost) argument must be number or *
(23:07:20) (~Jani) !rss *
(23:07:21) (~Ghost) no news for this channel


I've given it 20 minutes to update, but it keeps just saying there's no news, even though I've sat there and refreshed the feed page and it has updated a lot of times.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Jan 28, 2006 7:19 pm    Post subject: Reply with quote

what does the bot's log say? any error messages?
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
janipewter
Voice


Joined: 22 Jan 2006
Posts: 16

PostPosted: Sat Jan 28, 2006 7:24 pm    Post subject: Reply with quote

Quote:
[22:30] rssnews-1.5: ERROR(#mtavcsux): timeout
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Jan 28, 2006 7:27 pm    Post subject: Reply with quote

well, there you go... your bot can't connect to your website within 20 seconds (default timeout) after initiating connection attempt

try to increase that timeout
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
janipewter
Voice


Joined: 22 Jan 2006
Posts: 16

PostPosted: Sat Jan 28, 2006 7:33 pm    Post subject: Reply with quote

I've put it to 300 seconds now. I set up a test feed from the BBC news RSS and it works ok, except for spamming the title and then 30 headlines when I've set the variable maxnew to 3.

It's obviously the website I was originally trying which was causing the problems.

Edit: it works Very Happy
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Jan 28, 2006 7:42 pm    Post subject: Reply with quote

the maxnew parameter is relevant to announcements of new headlines only, not to requests for all stored (!rss *)

please use script's dedicated support thread if you need more help with it
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber