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 »

balaji wrote:
wac wrote:
I'd turn it on for that feed and see how that goes and/or delete the file that holds the info for the feed looks like you call it group-rss.db report back if that works or not (or errors as the case may be)
Hi wac,

Here's my new config for the feed:
set rss(group-rss) {
"url" "http://groups.google.com/group/techno-b ... 0_msgs.xml"
"channels" "#technobabble"
"database" "/home/mybot/eggdrop/scripts/feeds/group-rss.db"
"output" "\\\[\002technobabble-mailing-list\002\\\] @@item!title@@ - @@item!guid@@"
"trigger" "!@@feedid@@"
"evaluate-tcl" 1
}
I deleted the group-rss.db file and restarted the bot. When I run the "!group-rss" command I get the same error:
RSS Error: Invalid feed database file format (/home/mybot/eggdrop/scripts/feeds/group-rss.db)!
Today is your lucky day! I just changed the feed to be the rss feed instead of the atom feed, they look exactly the same, except the rss one works :) Heres your updated code. Have fun! Oh and deleted the old db one more time so it updates with the good info. :lol:

Code: Select all

set rss(group-rss) {
"url" "http://groups.google.com/group/techno-babble/feed/rss_v2_0_msgs.xml"
"channels" "#technobabble"
"database" "/home/mybot/eggdrop/scripts/feeds/group-rss.db"
"output" "\[\002technobabble-mailing-list\002\] @@item!title@@ - @@item!guid@@"
"trigger" "!@@feedid@@"
}
I see j00!
a
avggeek
Voice
Posts: 12
Joined: Thu Apr 03, 2008 12:10 am
Location: Singapore

Post by avggeek »

wac wrote:
Today is your lucky day! I just changed the feed to be the rss feed instead of the atom feed, they look exactly the same, except the rss one works :) Heres your updated code. Have fun! Oh and deleted the old db one more time so it updates with the good info. :lol:

Code: Select all

set rss(group-rss) {
"url" "http://groups.google.com/group/techno-babble/feed/rss_v2_0_msgs.xml"
"channels" "#technobabble"
"database" "/home/mybot/eggdrop/scripts/feeds/group-rss.db"
"output" "\[\002technobabble-mailing-list\002\] @@item!title@@ - @@item!guid@@"
"trigger" "!@@feedid@@"
}
That worked beautifully - thank you for the help! :)
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

balaji wrote:That worked beautifully - thank you for the help! :)
np
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

Hello,
I'am having the problem that the script doesn't do anything.

party-line says:
(Piratenschiff> [02:44] RSS Syndication Script v0.5b1 (2007-12-17): Loaded.
<(Piratenschiff> [02:44] Userfile loaded, unpacking...
The config is default (using the milw0rm rss).

When I try the trigger, nothing happens. no error. no output.

Oh and btw is this rss feed possible?
http://www.piratenpartei-niedersachsen. ... /index.php
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Schokobecher wrote:Hello,
I'am having the problem that the script doesn't do anything.

party-line says:
(Piratenschiff> [02:44] RSS Syndication Script v0.5b1 (2007-12-17): Loaded.
<(Piratenschiff> [02:44] Userfile loaded, unpacking...
The config is default (using the milw0rm rss).

When I try the trigger, nothing happens. no error. no output.

Oh and btw is this rss feed possible?
http://www.piratenpartei-niedersachsen. ... /index.php
You did something wrong obviously and now your going to look a tab bit stupid. Did you setup the channel? Did you setup where the database goes? (full directory helps) And are you sure you are doing the correct trigger? Try a rehash and/or restart?

I don't see why you couldn't make a spot for that feed, that is assuming you can correctly set it up, kinda doubtful seeing as you can't even get the default one going. :o

Good luck.
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

Hey... You make me looking stupid.

I set up everything because before that I had errors (Database not found, because of the Path).

So I modified the path and there we go:

No errors.
Sou you tell me to rehash but I told you what party-line says so... wtf?

I commented out the default config an made a new one, and you know what? it works.

But thanks for your... help :roll:

And for the feed I provided:
RSS Error: Unable to parse URL, Invalid format for feed "mytest".
the xml is embedded in the index.php.
t
tekster
Voice
Posts: 8
Joined: Sun Jul 09, 2006 2:44 am

Post by tekster »

is there a way to have the topic change when a new feed is announced in the channel?
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Schokobecher wrote:Hey... You make me looking stupid.
I didn't make you, you do that all by yourself.
Schokobecher wrote:I set up everything because before that I had errors (Database not found, because of the Path).

So I modified the path and there we go:

No errors.
Sou you tell me to rehash but I told you what party-line says so... wtf?
Just cause you post what the party line says, means [censored], the reason I said to it sometimes thats as easy as it is, it's a very easy thing to overlook, so you being an ass to someone attempting to help you because you can't figure it out isnt very nice.
Schokobecher wrote:I commented out the default config an made a new one, and you know what? it works.

But thanks for your... help :roll:

And for the feed I provided:
RSS Error: Unable to parse URL, Invalid format for feed "mytest".
the xml is embedded in the index.php.
That feed works just fine as I knew it would, I tested it to prove you wrong...

Code: Select all

Works goober - Demonstration gegen das Zensurgesetz - http://www.piratenpartei-niedersachsen.de/niedersachsen-blog/private-meinung/demonstration-gegen-das-zensurgesetz.html
So anyways, be nice next time and maybe I'll post how to make the feed work for you. ;)
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

Just cause you post what the party line says, means [censored], the reason I said to it sometimes thats as easy as it is, it's a very easy thing to overlook, so you being an ass to someone attempting to help you because you can't figure it out isnt very nice.
You basically told me that I'm to stupid using the default config. That's being an ass to me, too.
Besides that my config worked for milw0rm.
Oh and just to poke a little bit more:
Your quote proofs ****.

now please be that nice and help me with the Rss feed. :)
I tried almost every Url combination but it doesn't like my feed at all.
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Schokobecher wrote:
Just cause you post what the party line says, means [censored], the reason I said to it sometimes thats as easy as it is, it's a very easy thing to overlook, so you being an ass to someone attempting to help you because you can't figure it out isnt very nice.
You basically told me that I'm to stupid using the default config. That's being an ass to me, too.
Besides that my config worked for milw0rm.
Oh and just to poke a little bit more:
Your quote proofs ****.

now please be that nice and help me with the Rss feed. :)
I tried almost every Url combination but it doesn't like my feed at all.
Nothing wrong with using the default config, none at all, I was saying you were 'stupid' not to get it working right by reading what the config says to do, as in setting it up properly.

I guess I'll help you get it right if you post what your config for that feed is, and can point out what you did wrong. :lol:
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/r ... /index.php"
"channels" "#Piratenpartei-Niedersachsen"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}
Thats what it looks like :)
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

Schokobecher wrote:
set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/r ... /index.php"
"channels" "#Piratenpartei-Niedersachsen"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}
Thats what it looks like :)

Code: Select all

#Piratenpartei-Niedersachsen
Simple enough, you can't have a dash in your channel name, or any special character for that matter. Sorry.
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

But the Output of Milw0rm works fine..
:shock:

So the problem is:
RSS Error: Unable to parse URL, Invalid format for feed "mytest".
<schokobecher> !arrr
<Piratenschiff> [milw0rm.com] Bopup Communications Server 3.2.26.5460 Remote SYSTEM Exploit - http://www.milw0rm.com/exploits/9002
User avatar
wac
Halfop
Posts: 80
Joined: Sun Dec 10, 2006 1:22 am
Location: in my cardboard box

Post by wac »

It works fine on the same channel? The feed worked fine for me, try in a channel without a dash to see I'm right, otherwise something else is wonky in your script. It's usually the special chars throw it for a loop.
I see j00!
S
Schokobecher
Voice
Posts: 9
Joined: Sun Jun 21, 2009 8:48 pm

Post by Schokobecher »

Other channel, other problems :lol:
RSS Error: Invalid feed database file format (/home/eggdrops/scripts/test2.db)!
I recreated the db file (rm test2.db -> touch test2.db)

that is what my config looks like:
set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/r ... /index.php"
"channels" "#mybottest123"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}
Post Reply