Gav... wrote:
<quote who="David Crossley">

Ross Gardler wrote:

Cameron McCormack wrote:

Hi David.

David Crossley:


Not sure if this demo is in the Forrest-0.7 fresh site
'forrest seed', but it is Forrest-0.8-dev and you can see
it here:
http://forrest.zones.apache.org/ft/build/forrest-seed/samples/linking.html#site-fragment

Hmm, so you can only link to them by putting them in the site.xml file?
One for each ID in my documents?  Maybe when the URIs are being
rewritten, the fragment ID should be stripped off and appended to the
end of the generated URI.

That would be good, but don't hold your breath. Patches welcome (and
help available on the dev list).

See a very old related issue:
http://issues.apache.org/jira/browse/FOR-95

-David



Just wondering about adding an extra match into the locationmap.

Something like :-

 <match pattern="**#*">
   <location src="{1}.xml#{2}" />
 </match>

I'm not sure of the correct syntax at this stage, just wanted to throw the
idea in.


All works fine if we use a normal URL, but if we use the "site:" protocol as is requried here the fragement identifier gets lost. Therefore, the above would make no difference I'm afraid.

Ross