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

Generator for OpenOffice, think I got it

2003-03-14 Thread Yves Vindevogel
Hi all, I think I got a solution to use OpenOffice (Writer) files as a generator in Cocoon. First of all, thanks to Conal Tuohy and Upayavira for pointing me at some very important details. Okay, what I did My cocoon folder looks like this: cocoon/resources/entities cocoon/implements/sx

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
here's a generator for OpenOffice files ? > > Kind regards, > Yves Vindevogel > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandr

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
l Message- > From: Yves Vindevogel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 11 March 2003 7:43 PM > To: [EMAIL PROTECTED] > Subject: Generator for OpenOffice > > > Anyone who knows whether there's a generator for OpenOffice files ? > > Kind regards, >

Re: Generator for OpenOffice

2003-03-11 Thread Yves Vindevogel
ope this helps > > > Scott Warren > > -Original Message- > From: Yves Vindevogel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 11 March 2003 7:43 PM > To: [EMAIL PROTECTED] > Subject: Generator for OpenOffice > > > Anyone who knows whether there

RE: Generator for OpenOffice

2003-03-11 Thread Scott Warren
Scott Warren -Original Message- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 March 2003 7:43 PM To: [EMAIL PROTECTED] Subject: Generator for OpenOffice Anyone who knows whether there's a generator for OpenOffice files ? Kind regards, Yves

Generator for OpenOffice

2003-03-11 Thread Yves Vindevogel
Anyone who knows whether there's a generator for OpenOffice files ? Kind regards, Yves Vindevogel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]