forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: Including HTML
Date Tue, 13 Sep 2005 10:34:34 GMT
Borut BolĨina wrote:
> Hello,
> 
> I am trying to include several auto generated HTML files with embedded 
> CSS styles into Forrest. I have exhausted my try-repeat cycle. Mind that 
> changing this HTML is not an option.
> 
> First I tried to
> 
> <map:pipelines>
>   <map:pipeline>
>     <map:match pattern="news/**.html">
>      <map:select type="exists">
>       <map:when test="{project:content}{1}.html">
>         <map:read src="{project:content}{1}.html" 
> mime-type="text/html"/>      
>       </map:when>
>      </map:select>
>    </map:match>
>    ...
> 
> so that Forrest would leave anything in the news directory with html 
> extension as is. My news directory is located at
> 
>     %SEED_HOME%\src\documentation\content\xdocs\interseek\sheme\news

Do the following:

mkdir seed
cd seed
forrest fresh-site
forrest
http://localhost:8888/samples/linking.html#Serving+%28X%29HTML+content+without+Skinning

You will see a more complete description (and an example) of how to do 
it there.

Ross


Mime
View raw message