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 

Need help with rss reader. thanks

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Maiki
Voice


Joined: 20 May 2007
Posts: 28

PostPosted: Wed Aug 15, 2007 6:23 pm    Post subject: Need help with rss reader. thanks Reply with quote

My script (just the begin)

Code:
bind pub - !test test:proc
proc test:proc {nick uhost hand chan arg} {
      set connection [http::config -useragent "Mozilla 4.0"]
   set connection [http::geturl http://rss.binsearch.net/rss.php?max=50&g=alt.binaries.movies.divx -timeout 1000]
   set data [http::data $connection]
      set file [open debug.html w]
      puts $file $data
      close $file
   regexp -nocase {<title>(.*?)</title>} $data -> title
   putmsg $chan "Test.. Title=$title"
}

Title= Your RSS reader does not support (gzip) compression
Debug.html =
http://www.binsearch.info/ Due to excessive data traffic usage, using RSS clients that do not support (gzip) compression is no longer allowed! If you integrated any feeds into your own site and need assistence with implementing gzip support, contact us!<p>Regards,<br>Binsearch team Sat, 01 Oct 2005 07:02:27 GMT 86400 Due to excessive data traffic usage, using RSS clients that do not support (gzip) compression is no longer allowed! If you integrated any feeds into your own site and need assistence with implementing gzip support, contact us!<p>Regards,<br>Binsearch team Sat, 01 Oct 2005 07:02:27 GMThttp://www.binsearch.info/
Back to top
View user's profile Send private message
pitbull
Voice


Joined: 12 Aug 2007
Posts: 13

PostPosted: Wed Aug 15, 2007 6:49 pm    Post subject: Reply with quote

thats not a problem with your script, it's the RSS feed you are trying to view is trying to use compression to send the data, however the TCL script doesn't support it.. easiest way to fix, find a new RSS feed to use

sorry Sad
_________________
irc://irc.efnet.net/peakoil
Back to top
View user's profile Send private message
Maiki
Voice


Joined: 20 May 2007
Posts: 28

PostPosted: Thu Aug 16, 2007 9:30 am    Post subject: Reply with quote

is there ANY possible way to make this script work Sad?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Aug 16, 2007 8:23 pm    Post subject: Reply with quote

pitbull wrote:
.. easiest way to fix, find a new RSS feed to use

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
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