forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: Links repeated with static html document
Date Mon, 30 Jan 2006 13:46:41 GMT
Patrick Laot wrote:
> Hi,
> 
> I' trying a basic sitemap.xmap to read a static html document. That's OK except
> for some elements how are repeated. For example :
> 
> In my static file : <a href="#id2449285">Presentation du projet</a>
> And the result page : <a href="#id2449285">Presentation du projet</a><a
> href="#id2449285">Presentation du projet</a>
> 
> Another : <em>l'ESIL</em>
> And the result page : <em>l'ESIL</em><em>l'ESIL</em>
> 
> And the sitemap.xmap :
> 
>   <map:match pattern="{project:content.xdocs}/projets/soda/html/*.html">

This is unlikely to be what you want. The pattern should match the 
requested URL, for example to match:

http://localhost:8888/projects/soda/html/foo.html

you need:

<map:match pattern="projects/soda/html/*.html">

This means that your match is not the one doing the processing. Forrest 
handles HTML source files by default, skinning them accordingly. What 
you are seeing is probably default processing.

I've never heard of this error before though.

What version of Forrest are you using?

Ross

Mime
View raw message