Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 80555 invoked from network); 20 Apr 2004 11:50:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Apr 2004 11:50:11 -0000 Received: (qmail 43225 invoked by uid 500); 20 Apr 2004 11:50:00 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 42950 invoked by uid 500); 20 Apr 2004 11:49:58 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 42932 invoked from network); 20 Apr 2004 11:49:58 -0000 Received: from unknown (HELO p15093813.pureserver.info) (217.160.109.201) by daedalus.apache.org with SMTP; 20 Apr 2004 11:49:58 -0000 Received: from boa (pD9E0E072.dip.t-dialin.net [217.224.224.114]) by p15093813.pureserver.info (Postfix) with ESMTP id 286841CC21A for ; Tue, 20 Apr 2004 13:49:57 +0200 (CEST) Message-ID: <00a001c426cd$9a557720$3e01a8c0@boa> From: "Boris Althaus" To: References: <004501c426c1$c1dac4a0$3e01a8c0@boa> <4084FFC1.9070107@upaya.co.uk> Subject: Re: cli:// offline-generation, how to avoid get-variables in the generated-filenames Date: Tue, 20 Apr 2004 13:49:56 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009D_01C426DE.5D5037F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_009D_01C426DE.5D5037F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Upayavira, for html-file this behavior make sense because index.html?name=3Dfoo and = index.html?name=3Dbar have different content. But my.swf?name=3Dfoo and my.swf?name=3Dbar should be the same file. The = strange thing is, that my.swf?name=3Dfoo becomes my.swf_name=3Dfoo. = Probably because the ? is not allowed in filenames. And i do need the get-params, because they are interpreted by the = clientsite flash-plugin. Is it possible to configure the link-serializer? It would be great to = change the behavior.=20 Boris ----- Original Message -----=20 From: Upayavira=20 To: users@cocoon.apache.org=20 Sent: Tuesday, April 20, 2004 12:47 PM Subject: Re: cli:// offline-generation, how to avoid get-variables in = the generated-filenames Boris Althaus wrote: > hy all, > =20 > i'm working with the offline-generation of cocoon at the moment. > In my websites i have flash-movies which are initialized with=20 > get-variables. > The corresponding filenames are like my.swf_name=3Dvalue. > Is there a way to avoid this by configuration, or is it nessesary to = > rename the files by ant. No, there isn't a way. Say you have a page index.html?name=3Dfoo and = page=20 index.html?name=3Dbar, referring to both as index.html So the best thing to do is get the request parameter into the = filename,=20 so foo/index.html and bar/index.html, in the example above. What did you have in mind? Upayavira --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org ------=_NextPart_000_009D_01C426DE.5D5037F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Upayavira,
 
for html-file this behavior make sense = because=20 index.html?name=3Dfoo and index.html?name=3Dbar have different = content.
But my.swf?name=3Dfoo and = my.swf?name=3Dbar should be=20 the same file. The strange thing is, that my.swf?name=3Dfoo becomes=20 my.swf_name=3Dfoo. Probably because the ? is not allowed in=20 filenames.
 
And i do need the get-params, because = they are=20 interpreted by the clientsite flash-plugin.
 
Is it possible to configure the = link-serializer? It=20 would be great to change the behavior.
 
Boris
----- Original Message -----
From:=20 Upayavira =
Sent: Tuesday, April 20, 2004 = 12:47=20 PM
Subject: Re: cli:// = offline-generation,=20 how to avoid get-variables in the generated-filenames

Boris Althaus wrote:

> hy all,
>  =
>=20 i'm working with the offline-generation of cocoon at the = moment.
> In my=20 websites i have flash-movies which are initialized with
>=20 get-variables.
> The corresponding filenames are like=20 my.swf_name=3Dvalue.
> Is there a way to avoid this by = configuration, or=20 is it nessesary to
> rename the files by ant.

No, there = isn't a=20 way. Say you have a page index.html?name=3Dfoo and page =
index.html?name=3Dbar,=20 referring to both as index.html

So the best thing to do is get = the=20 request parameter into the filename,
so foo/index.html and = bar/index.html,=20 in the example above.

What did you have in=20 = mind?

Upayavira



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

------=_NextPart_000_009D_01C426DE.5D5037F0--