| View previous topic :: View next topic |
| Author |
Message |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Tue Mar 25, 2008 2:14 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
grrmisfit Voice
Joined: 29 Mar 2008 Posts: 6
|
Posted: Sat Mar 29, 2008 4:26 pm Post subject: |
|
|
| testebr wrote: | | Quote: | [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/external.php?type=RSS2"
[19:54:29] <my_bot> "..."
[19:54:29] <my_bot> (file "scripts/rss-synd.tcl" line 4
[19:54:29] <my_bot> invoked from within
[19:54:29] <my_bot> "source scripts/$script" |
| Quote: | set rss(name) {
"url" "http://www.urlrulrulrlr.url/forum/external.php?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 |
|
| Back to top |
|
 |
grrmisfit Voice
Joined: 29 Mar 2008 Posts: 6
|
Posted: Mon Mar 31, 2008 9:50 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Ala Voice
Joined: 05 Apr 2008 Posts: 2
|
Posted: Sat Apr 05, 2008 3:14 pm Post subject: help plz |
|
|
how we can make the TCL so the feeds are messaged to every channel the bot is in
thanks |
|
| Back to top |
|
 |
Tommyken Voice
Joined: 09 Apr 2008 Posts: 11
|
Posted: Sun Apr 13, 2008 5:32 am Post subject: |
|
|
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&g=alt.binaries.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 |
|
| Back to top |
|
 |
darthanubis Voice

Joined: 21 Apr 2008 Posts: 7
|
Posted: Tue Apr 22, 2008 7:15 pm Post subject: |
|
|
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. 
Last edited by darthanubis on Wed Apr 23, 2008 5:35 am; edited 1 time in total |
|
| Back to top |
|
 |
Tommyken Voice
Joined: 09 Apr 2008 Posts: 11
|
Posted: Wed Apr 23, 2008 5:00 am Post subject: |
|
|
did u try "!rss" without "
then your bot will send you the possible commands for rss |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Apr 28, 2008 9:42 pm Post subject: |
|
|
@ Tommyken: Try setting >> "enable-gzip" 0 _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Tommyken Voice
Joined: 09 Apr 2008 Posts: 11
|
Posted: Tue Apr 29, 2008 11:44 am Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Apr 30, 2008 11:14 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Tommyken Voice
Joined: 09 Apr 2008 Posts: 11
|
Posted: Sat May 03, 2008 8:32 am Post subject: |
|
|
| 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=.nzb&age=30&group=&min_size=&max_size=&poster=&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 |
|
| Back to top |
|
 |
RGhost Voice
Joined: 07 Apr 2006 Posts: 3
|
Posted: Wed May 28, 2008 4:39 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Renegade Voice
Joined: 24 May 2008 Posts: 10
|
Posted: Wed May 28, 2008 4:57 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
RGhost Voice
Joined: 07 Apr 2006 Posts: 3
|
Posted: Thu May 29, 2008 6:03 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Renegade Voice
Joined: 24 May 2008 Posts: 10
|
Posted: Thu May 29, 2008 4:32 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
|