| View previous topic :: View next topic |
| Author |
Message |
janipewter Voice
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 1:49 pm Post subject: perplexa's rssnews |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 28, 2006 3:37 pm Post subject: |
|
|
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 |
|
 |
janipewter Voice
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 5:20 pm Post subject: |
|
|
| 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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 28, 2006 5:36 pm Post subject: |
|
|
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 |
|
 |
janipewter Voice
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 7:07 pm Post subject: |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 28, 2006 7:19 pm Post subject: |
|
|
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 |
|
 |
janipewter Voice
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 7:24 pm Post subject: |
|
|
| Quote: | | [22:30] rssnews-1.5: ERROR(#mtavcsux): timeout |
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 28, 2006 7:27 pm Post subject: |
|
|
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 |
|
 |
janipewter Voice
Joined: 22 Jan 2006 Posts: 16
|
Posted: Sat Jan 28, 2006 7:33 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jan 28, 2006 7:42 pm Post subject: |
|
|
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 |
|
 |
|