cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Althaus" <bo...@petra-productions.de>
Subject Re: cli:// offline-generation, how to avoid get-variables in the generated-filenames
Date Tue, 20 Apr 2004 11:49:56 GMT
Hello Upayavira,

for html-file this behavior make sense because index.html?name=foo and index.html?name=bar
have different content.
But my.swf?name=foo and my.swf?name=bar should be the same file. The strange thing is, that
my.swf?name=foo becomes my.swf_name=foo. 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.


Boris
  ----- Original Message ----- 
  From: Upayavira 
  To: users@cocoon.apache.org 
  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,
  >  
  > i'm working with the offline-generation of cocoon at the moment.
  > In my websites i have flash-movies which are initialized with 
  > get-variables.
  > The corresponding filenames are like my.swf_name=value.
  > 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=foo and page 
  index.html?name=bar, referring to both as index.html

  So the best thing to do is get the request parameter into the filename, 
  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


Mime
View raw message