Koen Deforche wrote:
> Incidently (!), I just implemented this in my git copy, to have native
> support for internal paths in WText and WTemplate. It will take an
> anchor with href of the form "#/pagename" (using an XML parser) and
> transform in the same way as a WAnchor with a
> setInternalPath("/pagename").

OK, it will be interesting to see how that works. I implemented my own
workaround by pre-processing my .html file into xhtml (so I could
use my usual netscape composer application to create the .html),
and as well as other xhtml fixups, I replace the href="/blah" tags
with "/#/blah" if it's a bot or if ajax is running, and "/?_=blah&instance"
otherwise, so that the links emulate what wt is doing internally.

Graeme Gill.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to