Gerald Aichholzer wrote:
Hello Volkmar,
Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
>> What about using absolute url instead of a relative one?
>> <img src="/global/images/logo.png"/>
>
> Sorry Gerald, I should have read your posting more carefully.
> I've had a similar problem some time ago and the only solution I could
> find was using *src="../../and-so-on"* generated by a relatively
> complicated XSLT.
>
thank you for your infos. AFAICS there are two options available:
1) The application works with absolute URLs. In this case you will
have to touch the root-Sitemap of an existing Coocoon installation
and add a pipeline as follows:
<map:match pattern="url/to/my/app/**">
<map:mount src="my/apps/dir/sitemap.xmap"
uri-prefix="url/to/my/app/"/>
</map:match>
I once saw a similar but slightly different trick in a 3rd party Cocoon
interface:
<map:match pattern="icon=*.jpg">
<map:read="/my/absolute/url/{1}.jpg" mime-type="image/jpg"/>
</map:match>
The 'icon=' makes the URL easily recognizable as 'something special',
and prevends it from being overwritten accidently in another sitemap.
Don't whether this syntax is legal, but it works quite well for me :)
Cheers,
Sandor
-----------------------------------------------------------------------
Information and Computing Sciences, Utrecht University, the Netherlands
'Content and knowledge engineering' http://www.informationscience.nl/
Personal coordinates: http://www.cs.uu.nl/people/sandor/
"... unthinkable surprises, about to happen, but what they are -
it's not up to you, oh, it never really was." (Bjork on Vespertine)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]