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
s
scotteh
Halfop
Posts: 50
Joined: Sun Jan 29, 2006 12:43 am

Post by scotteh »

Rocky wrote:Hi, I have another few questions related to this script.

I have a feed which requires me to log in to access it and as such i require the ability to include cookie session data.

Is this currently supported?
If so, how do i define the cookie data?
If not, any chance that this feature will be implemented?

Thanks.
The script currently supports basic authentication, but not cookies. I could probably add it with little fuss.
g
grrmisfit
Voice
Posts: 6
Joined: Sat Mar 29, 2008 4:24 pm

Post by grrmisfit »

testebr wrote:
[19:54:29] <my_bot> [19:54] SCRIPT ERROR:rss-synd.tcl: missing close-brace: possible unbalanced brace in comment
[19:54:29] <my_bot> while executing
[19:54:29] <my_bot> "namespace eval ::rss-synd {
[19:54:29] <my_bot> variable rss
[19:54:29] <my_bot> variable default
[19:54:29] <my_bot> set rss(name) {
[19:54:29] <my_bot> "url""http://www.urlrulrulrlr.url/forum/exter ... ?type=RSS2"
[19:54:29] <my_bot> "..."
[19:54:29] <my_bot> (file "scripts/rss-synd.tcl" line 48)
[19:54:29] <my_bot> invoked from within
[19:54:29] <my_bot> "source scripts/$script"
set rss(name) {
"url" "http://www.urlrulrulrlr.url/forum/exter ... ?type=RSS2"
"channels" "#channel"
"database" "./scripts/feeds/name.db"
"output" "\00300,14\[\00308\002!\002\00300\] \00300\002\00308NAME\00300\002 \[\00308\002!\002\00300\] @@item!title@@ \[\00308\002!\002\00300\] @@item!link@@ \[\00308\002!\002\00300\]\003"
"trigger" "!@@feedid@@"
}
What's can be wrong here?

Thank you!
dont use windows to edit nix files.. or make sure you turn off wordwrap. do your editing on the shell and this will fix itself
g
grrmisfit
Voice
Posts: 6
Joined: Sat Mar 29, 2008 4:24 pm

Post by grrmisfit »

google news doesnt seem to work right.if i delete the .db file it works on next update but after that it wont announce anymore new articles
A
Ala
Voice
Posts: 2
Joined: Sat Apr 05, 2008 3:07 pm

help plz

Post by Ala »

how we can make the TCL so the feeds are messaged to every channel the bot is in

thanks
T
Tommyken
Voice
Posts: 11
Joined: Wed Apr 09, 2008 1:11 pm

Post by Tommyken »

Is there a solution for GZIP

[11:29] <me_> !binsearch
[11:29] <Windropbot> [Your RSS reader does not support \(gzip\) compression] Your RSS reader does not support \(gzip\) compression - http://www.binsearch.info/

i got trf package like mentioned in help placed in lib directory, but it don't works or doesn't react in my channel.


this is the code in the script (lined to binsearch)

set rss(binsearch) {
"enable-gzip" 1
"url" "http://rss.binsearch.net/rss.php?max=50 ... ries.anime"
"channels" "#FTD.usenet"
"database" "./scripts/binsearch.db"
"trigger" "!binsearch"
"charset" "utf-8"
"evaluate-tcl" 1
}



Is there a solution or something plz

further is this script very cool

thx advanced, Greetz
User avatar
darthanubis
Voice
Posts: 7
Joined: Mon Apr 21, 2008 2:57 pm

Post by darthanubis »

Edit.

I'm all set. Using the latest beta 0.5b1.

I don't know why but I guess my changes were not taking, user error. :oops:
Last edited by darthanubis on Wed Apr 23, 2008 5:35 am, edited 1 time in total.
T
Tommyken
Voice
Posts: 11
Joined: Wed Apr 09, 2008 1:11 pm

Post by Tommyken »

did u try "!rss" without "
then your bot will send you the possible commands for rss
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

@ Tommyken: Try setting >> "enable-gzip" 0
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
T
Tommyken
Voice
Posts: 11
Joined: Wed Apr 09, 2008 1:11 pm

Post by Tommyken »

Alchera wrote:@ Tommyken: Try setting >> "enable-gzip" 0
[Your RSS reader does not support \(gzip\) compression] Your RSS reader does not support \(gzip\) compression - http://www.binsearch.info/

i still got this error on binsearch :(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

After making that setting change you might need to .restart your bot instead of .rehash.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
T
Tommyken
Voice
Posts: 11
Joined: Wed Apr 09, 2008 1:11 pm

Post by Tommyken »

Alchera wrote:After making that setting change you might need to .restart your bot instead of .rehash.
thx for the help, but i think the problem is caused through the link it self, data streaml is too big.

i even tried now with this
set rss(nzbindex) {
"url" "http://www.nzbindex.nl/rss/?searchitem= ... &x=10&y=11"
"channels" "#FTD.usenet"
"database" "./scripts/nzbindex.db"
"output" "[\002nzbindex\002] @@item!title@@ - @@item!link@@ - @@item!description@@"
"trigger" "!nzbindex"
"evaluate-tcl" 1
}

but with this code i don't get any code or response back
is it also the problem on the link, not supported or something
R
RGhost
Voice
Posts: 3
Joined: Fri Apr 07, 2006 2:47 pm
Contact:

Post by RGhost »

Hi.

Can anyone help me to parse http://feeds.feedburner.com/CgIndia `?
I get "error" :

RSS Malformed Feed: Tag not closed: "<feed>"
RSS Error: Unable to parse feed properly, no data returned. "http://feeds.feedburner.com/CgIndia"
Royal Ghost | http://veda3d.com
R
Renegade
Voice
Posts: 10
Joined: Sat May 24, 2008 12:40 am

Post by Renegade »

You're parsing the wrong URL - Feedburner already aggregates the feed. If you click "View Feed XML", you get the URL http://feeds.feedburner.com/CgIndia?format=xml - try using that with the script.
R
RGhost
Voice
Posts: 3
Joined: Fri Apr 07, 2006 2:47 pm
Contact:

Post by RGhost »

Renegade wrote:If you click "View Feed XML", you get the URL http://feeds.feedburner.com/CgIndia?format=xml - try using that with the script.
I fixed url but has got same errors :/ I try to get only @@item!title@@ with "evaluate-tcl" 1/0 and allways get errors.
Royal Ghost | http://veda3d.com
R
Renegade
Voice
Posts: 10
Joined: Sat May 24, 2008 12:40 am

Post by Renegade »

Well, I can clearly see the "</feed>" at the end of the xml, so the tag is definitely closed - how does your configuration section for the feed look like?
Post Reply