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 

RSS news by demond
Goto page Previous  1, 2, 3, ... 10, 11, 12  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
OBcecado
Voice


Joined: 27 Jul 2004
Posts: 8

PostPosted: Sun Aug 28, 2005 3:57 pm    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message MSN Messenger
demond
Revered One


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

PostPosted: Sun Aug 28, 2005 4:14 pm    Post subject: Reply with quote

yep, in the next version, thanks for testing
Back to top
View user's profile Send private message Visit poster's website
kap
Voice


Joined: 29 Aug 2005
Posts: 2

PostPosted: Mon Aug 29, 2005 3:15 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Mon Aug 29, 2005 3:35 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
kap
Voice


Joined: 29 Aug 2005
Posts: 2

PostPosted: Mon Aug 29, 2005 4:05 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Tue Aug 30, 2005 3:39 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
sarius
Voice


Joined: 05 Aug 2005
Posts: 20

PostPosted: Thu Sep 01, 2005 12:33 am    Post subject: Reply with quote

It's working pretty well! Thanks. Very Happy

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!
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Thu Sep 01, 2005 1:20 am    Post subject: Reply with quote

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:

set feeds(#yourchan) {11 http://foo.com/feed1.rss}
set feeds(#Yourchan) {17 http://bar.com/feed2.rss}
Back to top
View user's profile Send private message Visit poster's website
OBcecado
Voice


Joined: 27 Jul 2004
Posts: 8

PostPosted: Tue Sep 20, 2005 3:03 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
demond
Revered One


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

PostPosted: Tue Sep 20, 2005 11:14 pm    Post subject: Reply with quote

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:

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

with:
Code:

      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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


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

PostPosted: Mon Sep 26, 2005 11:27 pm    Post subject: Reply with quote

hey why nobody told me this thing didn't work with BBC's international feeds Wink 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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


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

PostPosted: Sun Oct 02, 2005 10:56 pm    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
maxm
Voice


Joined: 04 Oct 2005
Posts: 4

PostPosted: Tue Oct 04, 2005 11:57 pm    Post subject: Reply with quote

hi,
Could you add https support please?
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Wed Oct 05, 2005 12:08 am    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
maxm
Voice


Joined: 04 Oct 2005
Posts: 4

PostPosted: Wed Oct 05, 2005 9:29 am    Post subject: Reply with quote

sure I can, thanks so much! Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, ... 10, 11, 12  Next
Page 2 of 12

 
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