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
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

You're not using the same id for each feed are you?

Code: Select all

set rss(mytest) 
I never bothered to test with numbers but I know special chars don't exactly work right, I'm not sure what you got going on, lol.
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

I changed 'myest' to '1'

still the same.

maybe you could provide your config?
But why does it complain about the file format?
You already helped someone with that problem so you could know it :D


and If I put him back to #Piratenpartei-Niedersachsen with that config he doesn't do anything.

€: tried messing with it:
set rss(mytest) {
"url" "http://milw0rm.com/rss.php"
"channels" "#Piratenpartei-Niedersachsen"
"database" "/home/eggdrops/scripts/test1.db"
"trigger" "!arrr"
}

gives me: RSS Error: Invalid feed database file format
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Code: Select all

        set rss(test) {
 "url" "http://www.piratenpartei-niedersachsen.de/rss-feed/allesneue/index.php"
       "channels"        "#channel"
       "database"        "/part/to/database/database.db"
 "output" "\003\00304Works goober\003 - \00314@@item!title@@\003 - @@item!link@@"
       "trigger"         "!@@feedid@@"
       "charset"         "utf-8"
       "evaluate-tcl"    0
       "trigger-output"  2
       "update-interval" 15
       }
On database errors you should delete them and start over, also as I said a rehash/restart can fix things sometimes...
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

Using you config ends up in "Invalid feed database file format"

I rehashed so many times / restart or even hard shutdown (killall eggdrop)

I gonna start bashing my head against the wall, very soon :?
€: Ok 15th reebot:
<schokobecher> !pirat
<Piratenschiff> Works goober - Demonstration gegen das Zensurgesetz - http://www.piratenpartei-niedersachsen. ... esetz.html
<Piratenschiff> Works goober - Aufruf zur Demonstration gegen Internetzensur in Hannover - http://www.piratenpartei-niedersachsen. ... nover.html

so it's twice the same. Hm?
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

You're not doing what I said to do *again* no wonder I can't be nice :P

"Invalid feed database file format" delete the database and .restart

And it's not the same twice, those are two different links completely, how can you not see that? The reason two things popped up is because of this

trigger-output" 2

Which is say... *sigh* when you type the trigger that the last 2 entries will be shown, if it were say 20 then 20 would be shown, looks like you got it working though.

*finally*
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

€: fixed. Thank you sir.
I owe you one.
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Schokobecher wrote:€: fixed. Thank you sir.
I owe you one.
np :D
I see j00!
t
tekster
Voice
Posts: 8
Joined: Sun Jul 09, 2006 2:44 am

Post by tekster »

is there an easy to make it change the topic of a channel for a certain feed?
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

tekster wrote:is there an easy to make it change the topic of a channel for a certain feed?
You asked that earlier, what would you want it to say?
I see j00!
t
tekster
Voice
Posts: 8
Joined: Sun Jul 09, 2006 2:44 am

Post by tekster »

pretty much the same as what it posts to the channel, but i have a couple different feeds and dont want all to change the topic, so i think that may cause a little problem, but for that i can have 2 scripts,
b
bro0
Voice
Posts: 10
Joined: Wed Apr 01, 2009 6:02 am

Post by bro0 »

bug:
the bot wont send feeds with bold / underline or what ever thinks... the 'default' formatted feed also have this problem..

and yeah. it's allowed in this chans and it works with other scripts..
f
fewyn
Voice
Posts: 15
Joined: Tue Dec 28, 2004 4:11 pm

Post by fewyn »

Anyone happen to know why my feed which is on a port other than 80 (8080 to be exact) isn't working while every other one is?
S
Striped Guest

Post by Striped Guest »

I've a problem starting eggdrop:

Code: Select all

[09:37] Tcl error in file 'eggdrop.conf':
[09:37] wrong # args: should be "set varName ?newValue?"
    while executing
"set rss(anitsuzuki) {
                "url"                   "http://ani-tsuzuki.net/ani-tsuzuki.rss"
                "channels"              "#*removed*"
                "database"              "./scripts/custom/ani-tsuzuki.db"
                ..."
    (in namespace eval "::rss-synd" script line 5)
    invoked from within
"namespace eval ::rss-synd {
        variable rss
        variable default

        set rss(anitsuzuki) {
                "url"                   "http://ani-tsuzuki.net/ani-tsuzuki.rss"
                "channels"              "..."
    (file "scripts/custom/rss-synd.tcl" line 48)
    invoked from within
"source scripts/custom/rss-synd.tcl"
    (file "eggdrop.conf" line 1380)
[09:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
My configuration:

Code: Select all

namespace eval ::rss-synd {
	variable rss
	variable default

	set rss(anitsuzuki) {
		"url"			"http://ani-tsuzuki.net/ani-tsuzuki.rss"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/ani-tsuzuki.db"
		"output"		"[\002Ani-Tsuzuki\002] item!title@@ - item!link@@"
		"trigger"		"!anitsuzuki"
		"charset"		"utf-8"
	}                               #@@entry!link!=href@@
                                        #@@<tag>!<subtag>!...@@

        set rss(nyaatorrents1) {
		"url"			"http://www.nyaatorrents.org/?page=rss"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/nyaatorrents1.db"
		"output"		"[\002NyaaTorrents\002] @@item!title@@ - @@item!guid@@"
		"trigger"		"!nyaa1"
		"charset"		"utf-8"
	}

	set rss(nyaatorrents2) {
		"url"			"http://sukebei.nyaatorrents.org/?page=rss"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/nyaatorrents2.db"
		"output"		"[\002NyaaTorrents (H)\002] @@item!title@@ - @@item!guid@@"
		"trigger"		"!nyaa2"
		"charset"		"utf-8"
	}
	
	set rss(deadfrog) {
		"url"			"http://deadfrog.fapis.com/rss.xml"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/deadfrog.db"
		"output"		"[\002Deadfrog\002] @@item!title@@ - @@item!link"
		"trigger"		"!deadfrog"
		"charset"		"utf-8"
	}
	
	set rss(ghost55) {
		"url"			"http://ghost55.ath.cx/?feed=rss2"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/ghost55.db"
		"output"		"[\002Ghost55\002] @@item!title@@ - @@item!link"
		"trigger"		"!ghost55"
		"charset"		"utf-8"
	}
	
	set rss(aft) {
		"url"			"http://a-f-t.no-ip.org/rss.php"
		"channels"		"#*removed*"
		"database"		"./scripts/custom/rss/aft.db"
		"output"		"[\002A-F-T\002] @@item!title@@ - @@item!link@@"
		"trigger"		"!a-f-t"
		"charset"		"ISO-8859-1"
	}

	# The default settings, If any setting isnt set for an individual feed
	#   it'll use the default listed here
	#
	# WARNING: You can change the options here, but DO NOT REMOVE THEM, doing
	#   so will cause errors.
	set default {
		"announce-output"	3
		"trigger-output"	3
		"remove-empty"		1
		"trigger-type"		0:2
		"announce-type"		0
		"max-depth"		5
		"evaluate-tcl"		0
		"update-interval"	10
		"output-order"		0
		"timeout"		15000
		"channels"		"#channel1"
		"trigger"		"!rss @@feedid@@"
		"output"		"\[\002@@channel!title@@@@title@@\002\] @@item!title@@@@entry!title@@ - @@item!link@@@@entry!link!=href@@"
		"user-agent"		"Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
	}
}
Eggdrop: 1.6.19+ctcpfix with eggdrop-1.6.19-ssl-rootie.patch
rss-synd.tcl Version: v0.5b1

Did I make some mistake or is something missing?!

EDIT: Found the mistake(s)...
1) Those Comments (#@@entry!link!=href@@) caused an error.
2) "charset" "ISO-8859-1" must be "iso8859-1"
Last edited by Striped Guest on Sat Sep 25, 2021 1:32 pm, edited 1 time in total.
l
luminoso
Voice
Posts: 7
Joined: Mon Jul 02, 2007 7:59 am

Post by luminoso »

i'm having this error 99% of the time to every feed that i have:

Code: Select all

[22:34] RSS HTTP Error: http://abandonados.info/?feed=rss2 (State: timeout)
[22:34] RSS HTTP Error: http://feeds2.feedburner.com/720pMoviesRss (State: timeout)
[22:34] RSS HTTP Error: http://pipes.yahoo.com/pipes/pipe.run?_id=04227f4f9c0fa081406cb5694821ae1a&_render=rss (State: timeout)
[22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_novidades (State: timeout)
[22:35] RSS HTTP Error: http://feeds2.feedburner.com/Canalfoto_news (State: timeout)
[22:35] RSS HTTP Error: http://abandonados.info/?feed=comments-rss2 (State: timeout)

anyone wonderer why?
w
wga
Voice
Posts: 1
Joined: Tue Oct 06, 2009 9:53 am

RSS Error: Unable to parse URL, Invalid format for feed &quo

Post by wga »

Hi,

i wanna use some feeds of ESL... now i got some errors on rehashing the bot:
[16:09:57] => <ESL|News> [16:09] RSS Error: Unable to parse URL, Invalid format for feed "pt".
[16:09:57] => <ESL|News> [16:09] RSS Error: Unable to parse URL, Invalid format for feed "fr".
[16:09:57] => <ESL|News> [16:09] RSS Error: Unable to parse URL, Invalid format for feed "uk".
[16:09:57] => <ESL|News> [16:09] RSS Error: Unable to parse URL, Invalid format for feed "ro".
[16:09:57] => <ESL|News> [16:09] RSS Error: Unable to parse URL, Invalid format for feed "nordic".
[16:09:57] => <ESL|News> [16:09] RSS Syndication Script v0.5b1 (2007-12-17): Loaded.

the rss-synd.tcl feeds:
set rss(uk) {
"url" "www.eslgfx.net/rss/news_default_www_uk.xml"
"channels" "#esl.uk #esl.staff"
"announce-output" "2"
"database" "./scripts/feeds/esl-news.uk.db"
"trigger-output" "2"
"update-interval" "10"
"trigger" "!esluk"
"output" "\[\ESL-News UK\] @@item!title@@ URL: @@item!link@@"
}


set rss(fr) {
"url" "www.eslgfx.net/rss/news_default_www_fr.xml"
"channels" "#esl.fr #esl.staff"
"announce-output" "2"
"database" "./scripts/feeds/esl-news.fr.db"
"trigger-output" "2"
"update-interval" "10"
"trigger" "!eslfr"
"output" "\[\ESL-News France\] @@item!title@@ URL: @@item!link@@"
}

set rss(pt) {
"url" "www.eslgfx.net/rss/news_default_www_pt.xml"
"channels" "#esl.pt #esl.staff"
"announce-output" "2"
"database" "./scripts/feeds/esl-news.pt.db"
"trigger-output" "2"
"update-interval" "10"
"trigger" "!eslpt"
"output" "\[\ESL-News Portugal\] @@item!title@@ URL: @@item!link@@"
}

set rss(ro) {
"url" "www.eslgfx.net/rss/news_default_www_ro.xml"
"channels" "#esl.ro #esl.staff"
"announce-output" "2"
"database" "./scripts/feeds/esl-news.ro.db"
"trigger-output" "2"
"update-interval" "10"
"trigger" "!eslro"
"output" "\[\ESL-News Romania\] @@item!title@@ URL: @@item!link@@"
}

set rss(nordic) {
"url" "www.eslgfx.net/rss/news_default_www_nordic.xml"
"channels" "#esl.nordic #esl.staff"
"announce-output" "2"
"database" "./scripts/feeds/esl-news.nordic.db"
"trigger-output" "2"
"update-interval" "10"
"trigger" "!eslnordic"
"output" "\[\ESL-News Nordic\] @@item!title@@ URL: @@item!link@@"
}
whats wrong :?: i checked some forum threads but dosnt work for me
Post Reply