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 »

skipyy wrote:is there an option when it annouce new post it will give the url? so !rss cmd wont be needed so much?
no; but it's easy to modify the script to do so
and another question
does this rss http://www.torec.net/rss.asp supported by the script?
give it a try and let us know
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

thank you demond , I've tried many scripts most of them caused me high cpuload , not sure why.yours seems very nice.
I am having this problem though
[04:28] Tcl error [::rssnews::news]: can't read "source(#place)": no such variable
any ideas 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'd guess because they all use blocking I/O - which is not the case with this script

if you can reproduce the error, type .set errorInfo on the party line and let us know the resulting output
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

working now:)
thanks alot!
great script.
T
The_Sorcerer
Voice
Posts: 5
Joined: Thu Jun 15, 2006 7:22 pm

Post by The_Sorcerer »

having 4 probs with this
im using eggdrop v1.6.18+spelling-errors-suck windrop

prob 1
it doesnt seem to like multiple channels at all

prob 2
im not seeing any links after the headlines

prob 3
if i type !rss news* or !rss read*
or !rss news1 or !rss read1 etc i get the following errors messages

[10:26] <The_Sorcerer> !rss read*
[10:26] -Botznews- argument must be number or *
[10:26] <The_Sorcerer> !rss news*
[10:26] -Botznews- argument must be number or *
[10:26] <The_Sorcerer> !rss read*
[10:27] -Botznews- argument must be number or *
[10:27] <The_Sorcerer> !rss read1
[10:27] -Botznews- argument must be number or *

Prob 4 i get this message in my console all the time
[10:35] <botznews> [10:35] rssnews-1.6: ERROR(#TriviaIRC): HTTP/1.0 302 Moved Temporarily

besides that this works great just wish there was a way to repeat even if it wasnt updated (i know it repeats just fine if news is constnatly updated like googles or cnn.com) but i have a small blog that im trying to get the info to my chan but i dont update the blog every 5 mins like google does so it doesnt get repeated.

so i thought well i can just make a timer on irc that would every 5 mins type "!rss read*" but again i get those errors "Argument must be number or *"

i'm a noob so im 99.9% sure its something im doing wrong. not the fault of this script at all :)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

The_Sorcerer wrote:having 4 probs with this
im using eggdrop v1.6.18+spelling-errors-suck windrop

prob 1
it doesnt seem to like multiple channels at all
yes it does, but one feed per channel; read through the entite thread for explanation on why is that, and how you could circumvent the limitation
prob 2
im not seeing any links after the headlines
that behaviour is by design - I don't like the idea of pasting URLs publicly
prob 3
if i type !rss news* or !rss read*
or !rss news1 or !rss read1 etc i get the following errors messages

[10:26] <The_Sorcerer> !rss read*
[10:26] -Botznews- argument must be number or *
[10:26] <The_Sorcerer> !rss news*
[10:26] -Botznews- argument must be number or *
[10:26] <The_Sorcerer> !rss read*
[10:27] -Botznews- argument must be number or *
[10:27] <The_Sorcerer> !rss read1
[10:27] -Botznews- argument must be number or *
so did you bother to try !rss * or !rss 1 as suggested?
Prob 4 i get this message in my console all the time
[10:35] <botznews> [10:35] rssnews-1.6: ERROR(#TriviaIRC): HTTP/1.0 302 Moved Temporarily
the script doesn't support automatic redirection; you need to specify the feed's real and ultimate URL
besides that this works great just wish there was a way to repeat even if it wasnt updated (i know it repeats just fine if news is constnatly updated like googles or cnn.com) but i have a small blog that im trying to get the info to my chan but i dont update the blog every 5 mins like google does so it doesnt get repeated.
it's not called rssNEWS for nothing

the whole idea is to announce NEWS only, not static content
so i thought well i can just make a timer on irc that would every 5 mins type "!rss read*" but again i get those errors "Argument must be number or *"
feel free to modify the script however you wish yourself; I never customize my scripts on request, and rarely hint people on that, but anyway: you need to get rid of that [lsearch]:

Code: Select all

	if {[lsearch -exact $hash($chan) [md5 $title]] == -1 && [botonchan $chan]} {

i'm a noob so im 99.9% sure its something im doing wrong. not the fault of this script at all :)
I'm glad you like it
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
T
The_Sorcerer
Voice
Posts: 5
Joined: Thu Jun 15, 2006 7:22 pm

Post by The_Sorcerer »

oops didnt notice the !rss * command , well anyway this is very nice script. again thanks :D
f
fauves
Voice
Posts: 11
Joined: Sun Apr 09, 2006 2:35 pm

Post by fauves »

Hi, anyone have a rss link about livescore football?
d
d4rkm3n
Voice
Posts: 4
Joined: Mon May 08, 2006 4:23 pm

Post by d4rkm3n »

the script is very unfriendly if you have more than one feed for a channel!

"!rss *" have to show the newst to topics of all sources and not only the least included feed

"!rss 12...x" have to show not the topics 12...x, but it must show feed source 1...x
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

"have to", "must"? you are not entitled to anything from me dude
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
d
d4rkm3n
Voice
Posts: 4
Joined: Mon May 08, 2006 4:23 pm

Post by d4rkm3n »

sorry for my language, but i dont know the right word :?
i want to say that the commands would be more useful if they act like i wrote it.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well, I might consider implementing multiple feeds on the same channel, but until then (if that ever happens, chances of which are slim) all you can do is check out this entire thread for hints on how to emulate what you need
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 »

people have spoken, so I decided to implement multiple feeds per channel; the new version will be released shortly, stay tuned
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 »

vox populi, vox dei

now sporting multiple feeds on the same channel; please also note that the public command has been changed from !rss to !news

grab the brand new version 2.0
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
T
Taz
Voice
Posts: 9
Joined: Sun Oct 23, 2005 10:18 pm

Post by Taz »

Well done, :D , thanx for your effort and time. It warms my heart to see peeps like you who spent time and energy on something so that others may benefit. Even if 'NOT EVERYONE' is willing to openly admit their appreciation, I personaly would like to say Kudos to you, and Thanx. :D
Post Reply