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
O
OBcecado
Voice
Posts: 8
Joined: Tue Jul 27, 2004 1:55 pm

Post by OBcecado »

Hi.
Many thanks for this script!
I would only want to ask one thing.
Having it working 100% i would like to ask for a feature, so it would only show X headlines of the rss feed, a value the user could change.
If possible it would be nice IMO.



Thanks for your great job. :)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

yep, in the next version, thanks for testing
k
kap
Voice
Posts: 2
Joined: Mon Aug 29, 2005 12:56 am

Post by kap »

This doesn't allow for multiple feeds in the same channel to work, does it? I can't seem to get that to work, and for whatever reason I've never been able to figure out tcl to check for myself.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

No it doesn't

I thought announcing news from multiple feeds on the same chan would only clutter the chan and confuse people

See your log, the script logs every feed fetching related error, you might get a clue what's wrong
k
kap
Voice
Posts: 2
Joined: Mon Aug 29, 2005 12:56 am

Post by kap »

My assumption was that the channel name was being used for a variable, and that the easy fix for that would be to name the feed in the script, which would then also prefix the rss info spit out by the eggy.. but that's just 100% speculation on my part, I'll investigate and see if I'm right when I'm more awake.

Thanks for the nice script.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

version 1.2 is now available, with XML CDATA support and headline announcing limiter

please let me know if you find a RSS feed this script can't handle
s
sarius
Voice
Posts: 20
Joined: Fri Aug 05, 2005 10:30 am

Post by sarius »

It's working pretty well! Thanks. :D

Also, I know this has been addressed before, but I really do think more than one feed per channel will be good. I'm definitely all for it. Cheers!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well, maybe if more people request this I'll implement it

meanwhile, you can simulate multiple feeds announcements on a single channel by repeating the chan name in different character case (however, the !rss chan command will work on the original channel name only):

Code: Select all

set feeds(#yourchan) {11 http://foo.com/feed1.rss}
set feeds(#Yourchan) {17 http://bar.com/feed2.rss}
O
OBcecado
Voice
Posts: 8
Joined: Tue Jul 27, 2004 1:55 pm

Post by OBcecado »

Hi again.
I would like to request for another feature (sorry if i'm asking too much) a limit in the !rss * output would be really nice, is that hard to code ?
Thanks for your time.




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

Post by demond »

OBcecado wrote:Hi again.
I would like to request for another feature (sorry if i'm asking too much) a limit in the !rss * output would be really nice, is that hard to code ?
Thanks for your time.
it's not hard at all, simply substitute:

Code: Select all

		foreach item $news($chan) {
			puthelp "notice $nick :($idx) [lindex $item 0]"
			incr idx
		}
with:

Code: Select all

		foreach item $news($chan) {
			puthelp "notice $nick :($idx) [lindex $item 0]"
			incr idx; if {$idx > 10} {break}
		}
where 10 is your limit
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

hey why nobody told me this thing didn't work with BBC's international feeds ;) it lacked handling of <title> and <description> tag attributes

fixed in 1.3
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

1.4 and most likely the last is here; added pub trigger flood protection
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,
Could you add https support please?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I could, but you'd need to install the TLS package
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 »

sure I can, thanks so much! :D
Post Reply