cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enke, Michael" <michael.e...@wincor-nixdorf.com>
Subject Re: zip/gzip serializer?
Date Tue, 20 Aug 2002 10:16:58 GMT
Jens Lorenz wrote:
> Hi,
> 
> > I want to download my generated data in gzipped or zipped
> > but I didn't found a gzip or zip serializer in cocoon.
> >
> > Is it possible in another way to setup this or
> > do I have to start writing such a serializer?
> 
> Have a look at this link. This will compress Servlet output with a Servlet
> Filter.
> 
> http://outerthought.net/wiki/Wiki.jsp?page=CocoonServletCompressionFilterS
> nippet
> 
> Another option is to use mod_gzip of Apache httpd for this. (probably
> faster as well)

Hi Jens,
thank you for your answer.
But I do not want to get ALL output from cocoon compressed.
I want:
For a request data.csv get it as text,
for a request data.csv.gz get it as gzipped data,
for a request data.csv.zip get it as zipped data.

Or especially for the HSSF format: I want to offer not only xls
but also Gnumeric format. And Gnumeric format is gzip compressed.

Maybe AbstractSerializer could be extended, to accept something like
<compression>gzip</compression> or <compression>zip</compression>

Regards,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message