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.

Eggdrop RSS Syndication (rss-synd) v0.5b1

Support & discussion of released scripts, and announcements of new releases.
Post Reply
m
multikon
Voice
Posts: 22
Joined: Sat Jun 19, 2004 10:28 pm

Post by multikon »

Hi

Big thx for this great script ..

Can you make an option to use sql ?

and a little timestamp for daily archive ?


thx for reply and cya
v
vinsoc
Voice
Posts: 2
Joined: Thu Feb 02, 2006 8:57 am

Post by vinsoc »

if output is only this..

"output" "[\002EXAMPLE\002] @@item!description@@"

...it`s not working. (repair please)

if output is this..

"output" "[\002EXAMPLE\002] @@item!title@@ - @@item!description@@

..it works

Trigger works.

/vinsoc
O
O_M3_
Voice
Posts: 1
Joined: Thu Mar 30, 2006 11:47 pm

multiple outputs per article

Post by O_M3_ »

i use your rss-synd...it work fine but i would like of customization.

same example posted here by neuschnee:

"output" "[\002Blah Blah\002] @@item!title@@ \n URL: @@item!link@@"
could output:
somebot: [Blah Blah] New Article Asfasfasd
somebot: URL: http://link.to.new.article.com

do you can help me? Please

Marcio from Brasil
R
RGhost
Voice
Posts: 3
Joined: Fri Apr 07, 2006 2:47 pm
Contact:

Post by RGhost »

RSS Error: Unable to parse feed properly, parser returned error. "http://forums.cgsociety.org/external.php?forumids=121"

Can u fix it?

Tnx.
W
Wayno
Voice
Posts: 3
Joined: Mon Apr 10, 2006 3:22 pm

Post by Wayno »

hi just wondering how u get this rss feed script to auto display the info of new updates?
d
duckdown
Voice
Posts: 15
Joined: Wed Apr 19, 2006 2:36 pm
Location: gta

Post by duckdown »

Will this script display PUBLICALLY to the channel new RSS news? I could care less about the trigger, and would even disable it if I could.

I just want people to be able to idle in the channel catch the headlines.

Thanks
r
rubstar
Voice
Posts: 2
Joined: Sun Apr 23, 2006 5:13 pm

Post by rubstar »

hi.. i've been using v0.2 for a while now.. and the gzip support on 0.3 is great, been waiting for this.

I've got one problem.. if i used the feed trigger in 0.2, the articles of the feed would be displayed with the newest first, and the oldest last. 0.3 gives me the oldest first and the newest last.. is there a way to fix this? could not find a setting to change this.
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

its not showing the url for me :(
m
maxoudu328
Voice
Posts: 4
Joined: Tue May 02, 2006 1:26 pm

Post by maxoudu328 »

hello,

I LOVE your script ...

but

....

How i can display the output just with a NOTICE and not in the public channel, beacause it's really bad for my utilisation ...

Thx to ur help :>

C ya
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

i'm no expert but if you change
putserv "PRIVMSG $chan :$msg"
to "NOTICE $nick :$msg"
it should do the trick
m
maxoudu328
Voice
Posts: 4
Joined: Tue May 02, 2006 1:26 pm

Post by maxoudu328 »

Yea i know that but, if i change :


Code: Select all

roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
	array set feed $feedlist
	array set news $newslist
	if {$oldfeed != ""} { array set old $oldfeed }

	if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }

	set i 0
	foreach item $news(item) {
		array set tmp $item

		if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
		if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
		
		
		putserv "PRIVMSG [join $feed(channels) ", "] :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
		
		incr i
	}
}


by

Code: Select all

roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
	array set feed $feedlist
	array set news $newslist
	if {$oldfeed != ""} { array set old $oldfeed }

	if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }

	set i 0
	foreach item $news(item) {
		array set tmp $item

		if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
		if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
		

		putserv "NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
		
		incr i
	}
}
It dosen't work :> it's the raison of my question ;)
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

sorry.
did you rehash?
m
maxoudu328
Voice
Posts: 4
Joined: Tue May 02, 2006 1:26 pm

Post by maxoudu328 »

yea yea i did, but in the p-l i have an error with this line, so i think it's wrong :) .

Script dev i need your help plz :( .
f
flashy
Voice
Posts: 24
Joined: Mon May 01, 2006 3:38 am

Post by flashy »

your script is changed from the original

try maybe removing $nick

"NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"

to

putserv "NOTICE :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
p
pennst26
Voice
Posts: 8
Joined: Fri May 12, 2006 2:06 pm

Post by pennst26 »

Hello, hopefully someone can help me fix these errors .
I am trying to run this TCL on Windrop on my local machine (XP)
Here are the steps I have taken and the errors that followed.

After installing TCL and then windrop , I edited the conf file and got windrop to enter my channel. Then I added this to to .conf file

Code: Select all

# source scripts/script.tcl

source scripts/rss-synd.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl
when I run eggdrop from cmd it then gives this error

Code: Select all

[13:12] Tcl error in file 'eggdrop.conf':
[13:12] can't find package http
    while executing
"package require http"
    (procedure "::rss-synd::init" line 5)
    invoked from within
"::rss-synd::init"
    (file "scripts/rss-synd.tcl" line 889)
    invoked from within
"source scripts/rss-synd.tcl"
    (file "eggdrop.conf" line 1321)
[13:12] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
After some reasonable amount of time on Google, I found a solution that says load http.tcl before all scripts. I had trouble finding a http.tcl , but then I looked in \Windrop\lib\tcl8.4\http1.0 I then copied this file to scripts folder, then called for it to load above the previous scripts. When I run eggdrop now, it says this.

Code: Select all

[13:26] ☻RSS Error☻: Unable to find tls package required for https, unloaded fe
d "https-test".
[13:26] ☻RSS Syndication Script☻: Loaded.
The bot enters channel, and I try some of the scripts default/sample triggers and nothing at all happens. I open eggdrop.log and I have these errors.

Code: Select all

[13:27] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:27] RSS Warning: Couldn't open "./scripts/feeds/bash.db": no such file or directory.
[13:27] [pennst26!neighborho@xbox.ownz.all.console] !bash 
[13:28] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:30] Last message repeated 2 time(s).
Anybody know what I am doing wrong here?
How can I fix this?
Post Reply