Re: Generator for OpenOffice

2003-03-20 Thread Christian Egli
Yves Vindevogel <[EMAIL PROTECTED]> writes: > I don't know what does entity catalogs are for, to be honest > But okay, this is my situation At the OSCOM Sprint in Zuerich me and a couple of guys worked on integration of OpenOffice with Lenya (the CMS based on Cocoon). We were quite successfu

Re: Generator for OpenOffice, think I got it

2003-03-14 Thread Upayavira
On 14 Mar 2003 at 12:45, Yves Vindevogel wrote: Would you be willing to make a Wiki page out of this? Go to: wiki.cocoondev.org. That would help a lot of people in the future. Oh, and well done!! Regards, Upayavira - To unsu

Re: Generator for OpenOffice

2003-03-14 Thread Yves Vindevogel
Ha, you're one step closer to the solution. If you want a quick solution: here it is : Open the /resources/entities/office.dtd file Remove all the entries from it, making it a completely empty file Retry, and it will work !! I got to that point yesterday too ... But now I'm in the to get the mu

Re: Generator for OpenOffice

2003-03-14 Thread Yury Mikhienko
On Fri, 14 Mar 2003 10:29:42 +0100 Yves Vindevogel <[EMAIL PROTECTED]> wrote: > Yury, > > I've been searching on this problem for some days now. And I'm close to > finding a solution. > > Problem is that the jar: protocol doesn't talk to cocoon, you must include > real path names. > > Upay

Re: Generator for OpenOffice

2003-03-14 Thread Yves Vindevogel
Yury, I've been searching on this problem for some days now. And I'm close to finding a solution. Problem is that the jar: protocol doesn't talk to cocoon, you must include real path names. Upayavira, somebody on this group, gave me a hint to this problem. You must include the dtd in your

Re: Generator for OpenOffice

2003-03-14 Thread Yury Mikhienko
> > > > > Can you please post your pipelines and the error you receive? > > > > My directories: > http://web/implements contains > /dtd with office.dtd > /sxw with my sxw file > > This is the complete pipeline > > > > >

Re: Generator for OpenOffice

2003-03-13 Thread Upayavira
An entity catalog is a way of mapping external references (e.g. references to DTDs) to local copies of those entities. So, by using an entity catalog, you can tell Cocoon where it should look for the Office DTDs. On 13 Mar 2003 at 10:39, Yves Vindevogel wrote: > I now edited the cocoon.xconf fi

Re: Generator for OpenOffice

2003-03-13 Thread Yves Vindevogel
I don't know what does entity catalogs are for, to be honest But okay, this is my situation I put the cocoon.war in the tomcat webapps folder, resulting in a new folder "cocoon". heheh ;-)) In my original sitemap, I mounted some extra sitemaps, one for every client cocoon web, so, I mounte

Re: Generator for OpenOffice

2003-03-13 Thread Yves Vindevogel
Oops, my mistake This should be the correct pipelines, with the same error http://web/implements/sxw/{1}!/{2}.xml"/>

Re: Generator for OpenOffice

2003-03-13 Thread Yves Vindevogel
> > Can you please post your pipelines and the error you receive? > My directories: http://web/implements contains /dtd with office.dtd /sxw with my sxw file This is the complete pipeline http://web/impl

RE: Generator for OpenOffice

2003-03-13 Thread Upayavira
On 13 Mar 2003 at 20:28, Conal Tuohy wrote: > > Well, > > > > That's the problem. > > > > The SXW file does not contain any DTD itself. They are all > > on my hard drive, > > from the installation of OpenOffice, but not in the files > > themselves. Have you tried using entity catalogs? Loo

RE: Generator for OpenOffice

2003-03-12 Thread Conal Tuohy
> Well, > > That's the problem. > > The SXW file does not contain any DTD itself. They are all > on my hard drive, > from the installation of OpenOffice, but not in the files themselves. So your pipeline should read the OpenOffice files from somewhere else. > When I tried to add the D

Re: Generator for OpenOffice

2003-03-12 Thread Yves Vindevogel
Well, That's the problem. The SXW file does not contain any DTD itself. They are all on my hard drive, from the installation of OpenOffice, but not in the files themselves. When I manually add all the DTDs (there are several) to the Zipped file, it works (at least, it gives another error in

RE: Generator for OpenOffice

2003-03-12 Thread Conal Tuohy
Hi Yves. You will need other pipelines to extract non-xml resources from the sxw file as well. (Presumably the sxw file contains the DTD?) e.g. http://web/implements/{1}!/{2}.dtd"; mime-type="text/plain"/> - To unsub

Re: Generator for OpenOffice

2003-03-12 Thread Yves Vindevogel
Hi all, I tested your suggestions and this is what I have ... http://web/implements/{1}!/{2}.xml"; mime-type="text/xml"/>

RE: Generator for OpenOffice

2003-03-12 Thread Upayavira
> I've taken your suggestion and implemented an example: > http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample Great! Could be useful! Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Generator for OpenOffice

2003-03-11 Thread Alexandru COSTIN
Hello, You should check www.axkit.com for an Open Office XSL filter (AxKit is a Perl version of Cocoon) However, I don't know if this is free. Alexandru On Tue, 2003-03-11 at 10:43, Yves Vindevogel wrote: > Anyone who knows whether there's a

RE: Generator for OpenOffice

2003-03-11 Thread Conal Tuohy
Good point, Upayavira! I've taken your suggestion and implemented an example: http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample Cheers! Con > > Basically, it's the ZipGenerator I need with some extras, but before > > writing the code myself, I was wondering whether someone had done it

Re: Generator for OpenOffice

2003-03-11 Thread Upayavira
> Basically, it's the ZipGenerator I need with some extras, but before > writing the code myself, I was wondering whether someone had done it > before me. Asking a similar question, I pointed someone at an example in the Langham/Ziegler book (a zip source). Someone else then made a point that the

Re: Generator for OpenOffice

2003-03-11 Thread Geoff Howard
There's no OpenOffice specific generator in the dist currently, if that's what you're asking. There may be others out there who have developed one and have not added it to the core of cocoon...? Geoff At 04:26 AM 3/11/2003, you wrote: I know the way OpenOffice stores its files (a set of xml fi

Re: Generator for OpenOffice

2003-03-11 Thread Yves Vindevogel
I know the way OpenOffice stores its files (a set of xml files into a zip with another extension). That's why I was wondering whether a generator exists ... I wrote a little script in perl (actually my first usefull perl script at the time) that extracts all the files into one .xml file which I

RE: Generator for OpenOffice

2003-03-11 Thread Scott Warren
OpenOffice 1.0 files are actually a set of XML files Zipped. If you rename an Open Office document to Zip you will find that the Draw application for example has an SVG file inside. Not sure if it's possible with Cocoon to generate the 4 files and the ZIP (anyone ??). Hope this helps Scott Warre