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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to