forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Borut BolĨina <...@najdi.si>
Subject Re: Including HTML
Date Tue, 13 Sep 2005 20:29:21 GMT
Just came back from a two hour session at the Cocoon site - it works 
now. Geee. I'll go get a beer now.
-Borut

Ross Gardler wrote:

>>>   <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>
>>
> <map:pipelines>
>
> This match will look for the content in content/news/**.html, you 
> stated it was somewhere else in your original post (can't remember 
> where), so your "{project:content}{1}.html" needs to be modified to 
> point at the right location.
>
> I am assuming your request URL is something like 
> "domain.org/news/myNews.html" if not then your match attribute is also 
> incorrect.
>
> Ross
>


Mime
View raw message