Hi Laurens! On Fri, Feb 27, 2004 at 07:04:20PM +0100, Laurens M. Fridael wrote:
(...) > >I have to put the original url as a parameter in the print url. > > Unfortunately, you can't easily URL-encode strings using the current set > of EL functions. I just added the str:urlencode() function that URL > encodes a given string. > > This rule will do what you want: > > <uri pattern=".*\.shtml" > value="http://tools.folha.com.br/print.html?skin=emcimadahora&url=${str:urlencode(uri)}"/> > > (This doesn't work in JPluck 2.1.1 yet, but it will in 2.1.2.) > > I'm currently editing and reorganizing the documentation to bring it in > line with JXL 2.1, including the URI rewriting and Expression Language > tutorial. Please be patient while I get everything sorted out. > > No problem Laurens. I was a little confused because I'm new to the JXL. I will try this aproach you recomended. Thanks for replay and thanks for the amazing work in JPluck! I will be waiting for the new docummentation. (I could help translating it to portuguese, if you want) Best Regards, -- /*------------------------------------------------------------------* * Marcelo Drudi Miranda | Microelectronics Engineering Student * * Debian GNU/Linux User | Linux Registered User #177399 * *------------------------------------------------------------------*/ _______________________________________________ plucker-list mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-list

