Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32A206611 for ; Tue, 19 Jul 2011 08:02:50 +0000 (UTC) Received: (qmail 13508 invoked by uid 500); 19 Jul 2011 08:02:47 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 12896 invoked by uid 500); 19 Jul 2011 08:02:36 -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 12847 invoked by uid 99); 19 Jul 2011 08:02:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 08:02:31 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.169.146.225] (HELO em-p00-ob.rzone.de) (81.169.146.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 08:02:25 +0000 X-RZG-AUTH: :JHgHVUukbu/oABctYDdDW+BkisQZ86tHsKjTaG93qgWs X-RZG-CLASS-ID: em00 Received: from post.webmailer.de (put.store [192.168.40.126]) by snori-em-01.store (RZmta 25.18) with ESMTP id a05312n6IJujbU for ; Tue, 19 Jul 2011 10:02:03 +0200 (MEST) Received: (from httpd@localhost) by post.webmailer.de (8.13.7/8.13.6) id p6J823Ta010713 for users@cocoon.apache.org; Tue, 19 Jul 2011 10:02:03 +0200 (MEST) Date: Tue, 19 Jul 2011 10:02:03 +0200 (MEST) Message-Id: <201107190802.p6J823Ta010713@post.webmailer.de> To: users@cocoon.apache.org From: kuehne@trustable.de Subject: Re: Re: uncompressed file in zip from ZipArchive serializer? X-Priority: 3 X-Abuse: 1682633 / 195.145.144.134 X-RZG-MBID: 15cFDIyLziL9ef2Ouv7tnWJJnMJc MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi Wendell, no, I am thinking in terms of Java coding, not just sitemap configuration. = But nevertheless the sitemap components like the ZipSerializer are straight= -forward pieces of software andeasy to expand if you're a medium java progr= ammer.=20 In your special caser I was thinking of extending the existing serializer w= ith a few more lines of code. If you don't feel comfortable with this maybe= you got some Java nerds in your project ? Greetings Andreas ----- original Nachricht -------- Betreff: Re: uncompressed file in zip from ZipArchive serializer? Gesendet: Mo, 18. Jul 2011 Von: Wendell Piez > Dear Andreas, >=20 > This is good news. >=20 > On 7/18/2011 2:59 PM, kuehne@trustable.de wrote: > > don't worry to enhance the Zip serializer ! Just another attribute in > > the input structure to set the method to 'STORED' aka 'uncompressed' > > and your done ... >=20 > Cool. Could you please be specific as to how I would do this? >=20 > Currently I have: >=20 > > > application/epub+zip > > ... >=20 > (Note that the 'text' serializer will prevent emitting the extra=20 > ... tagging, which isn't wanted in the output but=20 > which Cocoon seems to require in the input.) >=20 > I could also do it like this, slightly less conveniently, asking Cocoon > to serve the 'mimetype' file from a pipeline: >=20 > > > ... >=20 > Would you be able to tell me which attribute should be modified where,=20 > using either or both these approaches, or a different one, to get the=20 > mimetype file into the zip uncompressed? >=20 > From your email I might guess @method=3D'stored' or 'STORED' on=20 > zip:entry, but I haven't yet had any luck with this. >=20 > Gratefully, > Wendell >=20 > > ----- original Nachricht -------- > > > > Betreff: uncompressed file in zip from ZipArchive serializer? > > Gesendet: Mo, 18. Jul 2011 Von: Wendell > > Piez > > > >> Hi, > >> > >> I am currently using Cocoon to produce EPUB files, using the > >> ZipArchive serialization method. > >> > >> One requirement of EPUB is that the first file in the archive, the > >> mimetype file, not be compressed. (It needs to be visible > >> uncompressed starting at byte 30 of the EPUB file.) Until I can do > >> this my EPUBs won't be compliant. > >> > >> I don't see any way of doing this with the current zipArchive > >> serialization. And the page at > >> http://code.google.com/p/cocoon-epub/issues/detail?id=3D1 would seem > >> to suggest it is not now supported OOTB. Am I stuck or do readers > >> of this list have any good suggestions? > >> > >> Thanks, Wendell > >> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > --=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Wendell Piez mailto:wapiez@mulberrytech.com > Mulberry Technologies, Inc. http://www.mulberrytech.com > 17 West Jefferson Street Direct Phone: 301/315-9635 > Suite 207 Phone: 301/315-9631 > Rockville, MD 20850 Fax: 301/315-8285 > ---------------------------------------------------------------------- > Mulberry Technologies: A Consultancy Specializing in SGML and XML > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --- original Nachricht Ende ---- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org