[Phoenix] Adaption of relative links to a base URI
Andreas Wuest
awuest at student.ethz.ch
Sat Sep 30 02:55:11 CEST 2006
Hi
I've just implemented base URI rewriting, i.e. all relative links are
modified such that they are absolute links with regard to a certain URI
(currently the URI from where the document is loaded, but we could also
specify e.g. a Neutron baseURI attribute to override this).
Upon serialisation, the links are properly restored.
With other words, we can finally display images which have relative
URIs, and relative anchor elements are rendered like normal links.
Problems: <link/> elements under <head/> are not modified, i.e. CSS
documents can not yet be referenced relatively. Furthermore, CSS
documents which are referenced using @import are not rewritten as well.
--
Kind regards,
Andi
More information about the Phoenix
mailing list