cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Josten" <geert.jos...@daidalos.nl>
Subject RE: unpack/unizp a complete zip file?
Date Fri, 25 May 2007 11:55:50 GMT
Hi,

I extended the ZipSource component to accept zip-protocol patterns
without the addition of special files. But the Source is supposed to
produce content and you cannot produce the literal zip contents, so I
chose to produce a dir-listing of the zip. I use that to generate new
zip-url's that exhaustingly point to all files inside zip. Processing
that list with a component like savefiles or writesource should result
in extraction of a complete zip.

HTH,
Geert 

> 
   
 
Drs. G.P.H. Josten
Consultant
 
 

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen,
verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
 

> From: HGENTO [mailto:h-gent-o@freenet.de] 
> Sent: vrijdag 25 mei 2007 13:52
> To: users@cocoon.apache.org
> Subject: unpack/unizp a complete zip file?
> 
> Hi,
> 
> how can I unzip a zip file with an sitemap instruction. I 
> have access to a special file with zip:/file.zip!/file.xml 
> but I would like to have an instruction to unzip the complete 
> file.zip. Is there a easy way to do so in Cocoon 2.1.? I 
> did't found a answer on wiki as well as apache cocoon homepage.
> 
> Regards,
> Holger
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

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


Mime
View raw message