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 ... 5, 6, 7 ... 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
demond
Revered One


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

PostPosted: Sun Apr 23, 2006 4:33 am    Post subject: Reply with quote

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

Quote:

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


Joined: 01 May 2006
Posts: 24

PostPosted: Mon May 01, 2006 4:31 am    Post subject: Reply with quote

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?
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 May 02, 2006 12:07 am    Post subject: Reply with quote

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


Joined: 01 May 2006
Posts: 24

PostPosted: Tue May 02, 2006 2:01 am    Post subject: Reply with quote

working now:)
thanks alot!
great script.
Back to top
View user's profile Send private message
The_Sorcerer
Voice


Joined: 15 Jun 2006
Posts: 5

PostPosted: Fri Jun 16, 2006 1:33 pm    Post subject: Reply with quote

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


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

PostPosted: Fri Jun 16, 2006 11:56 pm    Post subject: Reply with quote

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

Quote:

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

Quote:

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?

Quote:

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

Quote:

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

Quote:

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:

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


Quote:

i'm a noob so im 99.9% sure its something im doing wrong. not the fault of this script at all Smile


I'm glad you like it
_________________
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
The_Sorcerer
Voice


Joined: 15 Jun 2006
Posts: 5

PostPosted: Sat Jun 17, 2006 12:39 am    Post subject: Reply with quote

oops didnt notice the !rss * command , well anyway this is very nice script. again thanks Very Happy
Back to top
View user's profile Send private message
fauves
Voice


Joined: 09 Apr 2006
Posts: 11

PostPosted: Tue Jun 27, 2006 4:31 am    Post subject: Reply with quote

Hi, anyone have a rss link about livescore football?
Back to top
View user's profile Send private message
d4rkm3n
Voice


Joined: 08 May 2006
Posts: 4

PostPosted: Tue Aug 01, 2006 8:03 pm    Post subject: Reply with quote

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
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 Aug 02, 2006 3:02 am    Post subject: Reply with quote

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


Joined: 08 May 2006
Posts: 4

PostPosted: Wed Aug 02, 2006 4:19 am    Post subject: Reply with quote

sorry for my language, but i dont know the right word Confused
i want to say that the commands would be more useful if they act like i wrote it.
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 Aug 02, 2006 1:08 pm    Post subject: Reply with quote

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] 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: Fri Aug 11, 2006 12:15 pm    Post subject: Reply with quote

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] 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: Sat Aug 12, 2006 6:52 pm    Post subject: Reply with quote

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


Joined: 23 Oct 2005
Posts: 9

PostPosted: Mon Aug 21, 2006 2:39 am    Post subject: Reply with quote

Well done, Very Happy , 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. 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 ... 5, 6, 7 ... 10, 11, 12  Next
Page 6 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