Ralph Goers wrote:

Try http://some.domain?url=http://some.other.domain

The url would then be obtained by
<map:generate src="{request-param:url}"/>





Yes, but please be very very careful, and realize the implications of doing something like this, especially since anybody can type in whatever URL they want.



Tony



-----Original Message-----
From: Andreas Rittershofer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 10:54 AM
To: [EMAIL PROTECTED]
Subject: URL as parameter for cocoon


I want to pass a URL in a URL as parameter for Cocoon:


I want that in a URL similar to

http://some.domain/url=http://some.other.domain

(does the // in http://some.other.domain has do be encoded in some way?)

the parameter http://some.other.domain is passed as parameter to sitemap.xmap:

<map:generate src="{1}"/> and {1} gets the passed URL http://some.other.domain.

Is this possible and if it is possible - how?

I tried several things but it didn't work.



mfg ar
--
Selbstverantwortliches Lernen mit http://www.LmTM.de/
*die* E-Learning-Plattform für Physik und Informatik!




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to