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 

rssnews reader with gzip support

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
redline
Voice


Joined: 10 Jun 2005
Posts: 2

PostPosted: Fri Jan 27, 2006 7:21 am    Post subject: rssnews reader with gzip support Reply with quote

Can Someone make rss reader with gzip support i want one for http://rss.binsearch.info/
thx
Back to top
View user's profile Send private message
scotteh
Halfop


Joined: 29 Jan 2006
Posts: 50

PostPosted: Sun Jan 29, 2006 1:01 am    Post subject: Reply with quote

I just added support for it in rss-synd. Not the nicest code (it depends on the external exec's cat & gunzip), but it works. You can test the beta version at http://labs.wizzer-it.com/projects/rss-synd/rss-synd-0.3b1.zip. Take a look at the 'gzip-example' feed, also if you find any bugs id greatly appriciate it if you emailed me about them.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jan 29, 2006 5:16 am    Post subject: Reply with quote

I am willing to add Content-Encoding: gzip support to my script rssnews, but you'll need to install some zlib wrapper package, like Trf or CritLib in order to be able to use such feature; thus the data won't be piped through external programs

let me know if you are willing to do that
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
scotteh
Halfop


Joined: 29 Jan 2006
Posts: 50

PostPosted: Sun Jan 29, 2006 8:30 am    Post subject: Reply with quote

Ah thats what i was looking for, only thing i could find when i searched for a package to deflate gzip was TclCurl.
Back to top
View user's profile Send private message
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Sun Jan 29, 2006 5:27 pm    Post subject: Reply with quote

demond wrote:
I am willing to add Content-Encoding: gzip support to my script rssnews, but you'll need to install some zlib wrapper package, like Trf or CritLib in order to be able to use such feature; thus the data won't be piped through external programs


Can't you use compress module from eggdrop? It can compress and decompress gzip files/data without problems.
_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Jan 30, 2006 12:50 am    Post subject: Reply with quote

KrzychuG wrote:
demond wrote:
I am willing to add Content-Encoding: gzip support to my script rssnews, but you'll need to install some zlib wrapper package, like Trf or CritLib in order to be able to use such feature; thus the data won't be piped through external programs


Can't you use compress module from eggdrop? It can compress and decompress gzip files/data without problems.


I can, but its Tcl bindings also work on file level, i.e. I'd have to store data in file first, which is equivalent to spawning gzip to handle it
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
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 -> Script Requests 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