forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav..." <brightoncomput...@brightontown.com.au>
Subject Re: site: URIs with fragment identifiers
Date Wed, 10 May 2006 02:43:02 GMT

<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.

-- 
Gav...



Mime
View raw message