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 ... 15, 16, 17 ... 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: Mon Jun 22, 2009 6:31 pm    Post subject: Reply with quote

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

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


Joined: 21 Jun 2009
Posts: 9

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

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 Very Happy


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

€: tried messing with it:

Quote:
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
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:58 pm    Post subject: Reply with quote

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


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 7:17 pm    Post subject: Reply with quote

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 Confused
€: Ok 15th reebot:

Quote:
<schokobecher> !pirat
<Piratenschiff> Works goober - Demonstration gegen das Zensurgesetz - http://www.piratenpartei-niedersachsen.de/niedersachsen-blog/private-meinung/demonstration-gegen-das-zensurgesetz.html
<Piratenschiff> Works goober - Aufruf zur Demonstration gegen Internetzensur in Hannover - http://www.piratenpartei-niedersachsen.de/pressemitteilungen/pressmitteilungen/aufruf-zur-demonstration-gegen-internetzensur-in-hannover.html



so it's twice the same. Hm?
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 7:49 pm    Post subject: Reply with quote

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

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


Joined: 21 Jun 2009
Posts: 9

PostPosted: Mon Jun 22, 2009 8:12 pm    Post subject: Reply with quote

€: fixed. Thank you sir.
I owe you one.
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 9:11 pm    Post subject: Reply with quote

Schokobecher wrote:
€: fixed. Thank you sir.
I owe you one.


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


Joined: 09 Jul 2006
Posts: 8

PostPosted: Tue Jun 23, 2009 1:30 pm    Post subject: Reply with quote

is there an easy to make it change the topic of a channel for a certain feed?
Back to top
View user's profile Send private message
wac
Halfop


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

PostPosted: Tue Jun 23, 2009 2:10 pm    Post subject: Reply with quote

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


Joined: 09 Jul 2006
Posts: 8

PostPosted: Tue Jun 23, 2009 2:38 pm    Post subject: Reply with quote

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


Joined: 01 Apr 2009
Posts: 10

PostPosted: Wed Jun 24, 2009 12:05 pm    Post subject: Reply with quote

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


Joined: 28 Dec 2004
Posts: 15

PostPosted: Mon Aug 31, 2009 11:16 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message AIM Address MSN Messenger
Striped Guest
Guest





PostPosted: Mon Sep 07, 2009 3:42 am    Post subject: Reply with quote

I've a problem starting eggdrop:

Code:
[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:
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
Back to top
luminoso
Voice


Joined: 02 Jul 2007
Posts: 7

PostPosted: Mon Sep 21, 2009 5:32 pm    Post subject: Reply with quote

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

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


Joined: 06 Oct 2009
Posts: 1

PostPosted: Tue Oct 06, 2009 10:18 am    Post subject: RSS Error: Unable to parse URL, Invalid format for feed &quo Reply with quote

Hi,

i wanna use some feeds of ESL... now i got some errors on rehashing the bot:

Quote:

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

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 Question i checked some forum threads but dosnt work for me
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 ... 15, 16, 17 ... 25, 26, 27  Next
Page 16 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