| View previous topic :: View next topic |
| Author |
Message |
redline Voice
Joined: 10 Jun 2005 Posts: 2
|
Posted: Fri Jan 27, 2006 7:21 am Post subject: rssnews reader with gzip support |
|
|
Can Someone make rss reader with gzip support i want one for http://rss.binsearch.info/
thx |
|
| Back to top |
|
 |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Sun Jan 29, 2006 1:01 am Post subject: |
|
|
| 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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jan 29, 2006 5:16 am Post subject: |
|
|
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 |
|
 |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Sun Jan 29, 2006 8:30 am Post subject: |
|
|
| 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 |
|
 |
KrzychuG Master

Joined: 16 Aug 2003 Posts: 306 Location: Torun, Poland
|
Posted: Sun Jan 29, 2006 5:27 pm Post subject: |
|
|
| 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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Jan 30, 2006 12:50 am Post subject: |
|
|
| 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 |
|
 |
|