Re: InflatedFileGenerator

2003-11-19 Thread Tony Edwards
Hi Jean, We use the OpenOffice format a fair bit here for other projects. I did write a simple generator to extract the 'content.xml' from the .sxw file but it was a bit of a kludgey hack as my java skills are still a bit infantile! I'd be interested in utilising your offering if that's

RE: InflatedFileGenerator

2003-11-19 Thread Conal Tuohy
You can read zipped content with the regular FileGenerator, using the jar: protocol. See http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample -Original Message- From: Tony Edwards [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 November 2003 12:36 To: [EMAIL PROTECTED] Subject: Re

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
I didn't know the FileGenerator zipped capabilities ... Here it is my source. It's pretty simple. It inherits from the FileGenerator. You have to give 4 parameters : * src : src archive path * directory : dir where you want to store the unzipped content * file : file to extract * newfile : new

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
: Thursday, 20 November 2003 12:36 To: [EMAIL PROTECTED] Subject: Re: InflatedFileGenerator Hi Jean, We use the OpenOffice format a fair bit here for other projects. I did write a simple generator to extract the 'content.xml' from the .sxw file but it was a bit of a kludgey hack as my java skills