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 

Eggdrop RSS Syndication (rss-synd) v0.5b1
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 25, 26, 27  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Sun Jun 14, 2009 4:53 am    Post subject: Reply with quote

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:

Quote:
set rss(group-rss) {
"url" "http://groups.google.com/group/techno-babble/feed/atom_v1_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:

Quote:
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 Smile Heres your updated code. Have fun! Oh and deleted the old db one more time so it updates with the good info. Laughing

Code:
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!
Back to top
View user's profile Send private message
avggeek
Voice


Joined: 03 Apr 2008
Posts: 12
Location: Singapore

PostPosted: Sun Jun 14, 2009 11:56 pm    Post subject: Reply with quote

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 Smile Heres your updated code. Have fun! Oh and deleted the old db one more time so it updates with the good info. Laughing

Code:
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! Smile
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Mon Jun 15, 2009 2:42 am    Post subject: Reply with quote

balaji wrote:
That worked beautifully - thank you for the help! Smile


np
_________________
I see j00!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Sun Jun 21, 2009 8:52 pm    Post subject: Reply with quote

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

party-line says:
Quote:
(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.de/rss-feed/allesneue/index.php
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Sun Jun 21, 2009 11:30 pm    Post subject: Reply with quote

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

party-line says:
Quote:
(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.de/rss-feed/allesneue/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. Surprised

Good luck.
_________________
I see j00!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 10:23 am    Post subject: Reply with quote

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 Rolling Eyes

And for the feed I provided:

Quote:
RSS Error: Unable to parse URL, Invalid format for feed "mytest".


the xml is embedded in the index.php.
Back to top
View user's profile Send private message
tekster
Voice


Joined: 09 Jul 2006
Posts: 8

PostPosted: Mon Jun 22, 2009 4:23 pm    Post subject: Reply with quote

is there a way to have the topic change when a new feed is announced in the channel?
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Mon Jun 22, 2009 5:13 pm    Post subject: Reply with quote

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 Rolling Eyes

And for the feed I provided:

Quote:
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:
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. Wink
_________________
I see j00!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 5:32 pm    Post subject: Reply with quote

Quote:
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. Smile
I tried almost every Url combination but it doesn't like my feed at all.
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Mon Jun 22, 2009 5:54 pm    Post subject: Reply with quote

Schokobecher wrote:
Quote:
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. Smile
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. Laughing
_________________
I see j00!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 5:59 pm    Post subject: Reply with quote

Quote:
set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/rss-feed/allesneue/index.php"
"channels" "#Piratenpartei-Niedersachsen"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}


Thats what it looks like Smile
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Mon Jun 22, 2009 6:04 pm    Post subject: Reply with quote

Schokobecher wrote:
Quote:
set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/rss-feed/allesneue/index.php"
"channels" "#Piratenpartei-Niedersachsen"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}


Thats what it looks like Smile


Code:
#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!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 6:08 pm    Post subject: Reply with quote

But the Output of Milw0rm works fine..
Shocked

So the problem is:
Quote:
RSS Error: Unable to parse URL, Invalid format for feed "mytest".


Quote:
<schokobecher> !arrr
<Piratenschiff> [milw0rm.com] Bopup Communications Server 3.2.26.5460 Remote SYSTEM Exploit - http://www.milw0rm.com/exploits/9002
Back to top
View user's profile Send private message
wac
Halfop


Joined: 10 Dec 2006
Posts: 80
Location: in my cardboard box

PostPosted: Mon Jun 22, 2009 6:13 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Schokobecher
Voice


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 6:29 pm    Post subject: Reply with quote

Other channel, other problems Laughing

Quote:
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:

Quote:
set rss(mytest) {
"url" "http://piratenpartei-niedersachsen.de/rss-feed/allesneue/index.php"
"channels" "#mybottest123"
"database" "/home/eggdrops/scripts/test2.db"
"trigger" "!arrr"
}
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 ... 14, 15, 16 ... 25, 26, 27  Next
Page 15 of 27

 
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