lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Losing hyperlinks - what xsl removes them?
Date Fri, 13 Jan 2006 08:43:08 GMT
Josias Thoeny schrieb:
> On Thu, 2006-01-12 at 11:11 -0500, Bob Harner wrote:
>> The behavior seems to be correct for links to documents, but in my
>> case the link is actually to an asset (a JPEG file).  So even though
>> the file really exists, it is't actually a "document".  I believe
>> LinkRewritingTransformer should either ignore (leave in place) such
>> absolute links to assets or correctly check for their existence.  What
>> do you think?
> The easiest way probably is to extend the DefaultDocumentBuilder s.t. it
> recognizes only urls with .html as document urls. This way the
> LinkRewritingTransformer should leave all other urls (e.g. with .jpg
> extension) in place.

 > However, if you plan to use the proxy mechanism and you want the asset
 > urls to be rewritten using a proxy url prefix, you have to do it the
 > other way (recognize the assets as documents). I'm not sure if this
 > can be done easily, though.

It's about time to handle documents and assets in the same way ... :(

-- Andreas

To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org

View raw message