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.

Need help with rss reader. thanks

Help for those learning Tcl or writing their own scripts.
Post Reply
M
Maiki
Voice
Posts: 28
Joined: Sun May 20, 2007 4:58 pm

Need help with rss reader. thanks

Post by Maiki »

My script (just the begin)

Code: Select all

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/
p
pitbull
Voice
Posts: 13
Joined: Sun Aug 12, 2007 12:12 pm

Post by pitbull »

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 :(
M
Maiki
Voice
Posts: 28
Joined: Sun May 20, 2007 4:58 pm

Post by Maiki »

is there ANY possible way to make this script work :(?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
Post Reply