Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 41294 invoked from network); 24 Aug 2008 23:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2008 23:46:09 -0000 Received: (qmail 32803 invoked by uid 500); 24 Aug 2008 23:46:00 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 32740 invoked by uid 500); 24 Aug 2008 23:46:00 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 32728 invoked by uid 99); 24 Aug 2008 23:46:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 16:46:00 -0700 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=DNS_FROM_OPENWHOIS,FR_3TAG_3TAG,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Aug 2008 23:45:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KXPH0-0003v4-Be for users@cocoon.apache.org; Sun, 24 Aug 2008 16:45:30 -0700 Message-ID: <19136064.post@talk.nabble.com> Date: Sun, 24 Aug 2008 16:45:30 -0700 (PDT) From: Steve Cameron To: users@cocoon.apache.org Subject: Re: ZipArchiveSerializer question In-Reply-To: <1219485486.6767.10.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: stephen.cameron@utas.edu.au References: <19082078.post@talk.nabble.com> <1219485486.6767.10.camel@localhost> X-Virus-Checked: Checked by ClamAV on apache.org Hello Alfred, Say have a url 'http://mysite.com/cocoon/test.xml' and I want to add an option to save the same test.xml file as a zip archive. I see now that if I have the following sitemap: tags. And the zip.xsl is as follows: cocoon:/ I am directing the output of the "*" pipeline into the "*.zip" pipeline. This almost seems to work, but the browser does not seem to understand that file is a zip, so maybe I'm still doing something incorrectly, thanks for your help. Steve Cameron Alfred Nathaniel wrote: > > On Wed, 2008-08-20 at 20:54 -0700, Steve Cameron wrote: >> Hello, >> >> Is it possible to use the ZipArchiveSerializer and process the generator >> output straight off without sending it to a disk file first? >> >> I think this stream compression is possible but gives a less compressed >> result. > > I don't quite understand what your question is. > > The ZIPArchiveSerializer does not write any on-disk ZIP file. It > buffers in memory and streams it to the HTTP response. > > If you on the client side don't want to store the ZIP file, you can > unpack it immediately: > > curl http://... | jar xfv - > > HTH, Alfred. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > -- View this message in context: http://www.nabble.com/ZipArchiveSerializer-question-tp19082078p19136064.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org