| View previous topic :: View next topic |
| Author |
Message |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Sun Jun 14, 2009 4:53 am Post subject: |
|
|
| 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 Heres your updated code. Have fun! Oh and deleted the old db one more time so it updates with the good info.
| 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 |
|
 |
avggeek Voice
Joined: 03 Apr 2008 Posts: 12 Location: Singapore
|
Posted: Sun Jun 14, 2009 11:56 pm Post subject: |
|
|
| 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.
| 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!  |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Jun 15, 2009 2:42 am Post subject: |
|
|
| balaji wrote: | That worked beautifully - thank you for the help!  |
np _________________ I see j00! |
|
| Back to top |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Sun Jun 21, 2009 8:52 pm Post subject: |
|
|
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 |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Sun Jun 21, 2009 11:30 pm Post subject: |
|
|
| 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.
Good luck. _________________ I see j00! |
|
| Back to top |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Mon Jun 22, 2009 10:23 am Post subject: |
|
|
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
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 |
|
 |
tekster Voice
Joined: 09 Jul 2006 Posts: 8
|
Posted: Mon Jun 22, 2009 4:23 pm Post subject: |
|
|
| is there a way to have the topic change when a new feed is announced in the channel? |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Jun 22, 2009 5:13 pm Post subject: |
|
|
| 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
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.  _________________ I see j00! |
|
| Back to top |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Mon Jun 22, 2009 5:32 pm Post subject: |
|
|
| 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.
I tried almost every Url combination but it doesn't like my feed at all. |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Jun 22, 2009 5:54 pm Post subject: |
|
|
| 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.
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.  _________________ I see j00! |
|
| Back to top |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Mon Jun 22, 2009 5:59 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Jun 22, 2009 6:04 pm Post subject: |
|
|
| 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  |
| 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 |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Mon Jun 22, 2009 6:08 pm Post subject: |
|
|
But the Output of Milw0rm works fine..
So the problem is:
| Quote: | | RSS Error: Unable to parse URL, Invalid format for feed "mytest". |
|
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Jun 22, 2009 6:13 pm Post subject: |
|
|
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 |
|
 |
Schokobecher Voice
Joined: 21 Jun 2009 Posts: 9
|
Posted: Mon Jun 22, 2009 6:29 pm Post subject: |
|
|
Other channel, other problems
| 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 |
|
 |
|