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.

RSS news by demond

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

okie-dokie, version 1.5 supports HTTPS via SSL (if you experience https timeouts, try changing reqcert from yes:no to no:no)

please note that if the server requires certificate (very rarely for public access), you'll need to specify it as argument of [tls::socket]
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
m
maxm
Voice
Posts: 4
Joined: Tue Oct 04, 2005 11:55 pm

Post by maxm »

hi,
I tried the new version with this rss feed:
https://dream4ever.org/external.php?type=RSS2

but it always shows " rssnews-1.5: ERROR(#maxm): timeout. "

no matter using yes:no or no:no

Could you help me out? Thanks very much
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

the certificate is for *.dreamz.org so you should use www.dreamz.org or something like that. Dont know if that can be a problem. however using that domain results in a 400 "bad request" error. Sounds like a messed up https server config.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well, other than suggesting to increase the timeout value, I can't help you further; obviously that feed has connection problems, I've been able to load it into my browser just once from like 10 attempts

the server certificate shouldn't play any role here, even if invalid or expired, as long as you don't request it (set rssnews::reqcert no:no)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
m
maxm
Voice
Posts: 4
Joined: Tue Oct 04, 2005 11:55 pm

Post by maxm »

increasing timeout value works. Thanks.
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

Post by SaPrOuZy »

http://www.rssweather.com/rss.php?hwvUT ... alt=rss20a

doesn't seem to be working, nothing posted, and when trying to use !rss * i get , no news for this chan, eventhough i tried the script with other urls and it worked fine
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

SaPrOuZy wrote:http://www.rssweather.com/rss.php?hwvUT ... alt=rss20a

doesn't seem to be working, nothing posted, and when trying to use !rss * i get , no news for this chan, eventhough i tried the script with other urls and it worked fine
works perfectly for me
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
P
PhiWi
Voice
Posts: 2
Joined: Tue Oct 11, 2005 8:07 am

Feature request

Post by PhiWi »

Looks like a nice script to me :)
Right now I am using the rss tcl made by perplexa but it takes a lot of cpu..
This one is not really suitable for me, as I have a #news channel on my Network with aprox. 25 feeds added.
Would be great if support for more (or unlimited?) feeds per channel could be added.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I have no intention of developing this further (at least not now), but you can emulate multiple feeds on the same chan by specifying channame in mixed case, e.g. feeds(#news), feeds(#News), feeds(#nEws), etc.; however, that will work properly for announcements only
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
P
PhiWi
Voice
Posts: 2
Joined: Tue Oct 11, 2005 8:07 am

Post by PhiWi »

Too bad :(
But thanks, i´ll give it a try.
s
sarius
Voice
Posts: 20
Joined: Fri Aug 05, 2005 10:30 am

Post by sarius »

hi!

I've been using it for a while now and it works great. Thanks :)

However, I would like to request for a pub trigger that can make it go into and out of 'silent mode' (eg. !stoprss and !startrss). In silent mode, the bot will continue updating from the websites but will not display it in the channel.

I hope it's not too much trouble. Thanks again :)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

sorry, I won't be developing my scripts any further - I lost interest in eggdrop scripting

but maybe somebody competent will be kind enough to take on from where I stopped and enhance my scripts even more, satisfying present and future user needs
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
w
woodsdog
Voice
Posts: 4
Joined: Fri Jan 06, 2006 5:20 pm

Post by woodsdog »

I've been using this script for a few months now, and I love it! Thanks Demond for making this available.

I have a quick question...Whenever I get a storie with double quotes (") in it, the bot spits out:

"

This also happens for other symbols. Single quote does seem to show up ok. Is this because I am using xchat? It's not a big deal, but I would like to clean it up.

Thanks

Woody
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

hmm that doesn't seem as valid HTML escape to me... or maybe it really is, I'm no HTML expert

try adding " and \x22 to the variable html at script's end
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
w
woodsdog
Voice
Posts: 4
Joined: Fri Jan 06, 2006 5:20 pm

Post by woodsdog »

Thanks Demond..That cleared it up. They are looking really good now..no wierd obnoxious stuff in there now.

Woody
Post Reply