Re: how do i overide sitemap to a .html

Vik Tara <[email protected]> Wed, 13 Jul 2011 13:07:08 +0100
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
If the main sitemap is confusing, you could create a sub sitemap and put 
all your own pipelines in there and then load that sitemap from the main 
one.

See "mounting sitemaps"
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html

On 13/07/11 12:06, Nick Holland wrote:
> hi im trying to point lenya to look at a html page when it receives a 
> request for portfolio.html
>
> this is the code im using on the default sitemap.xmap, copied to my 
> publication folder
>
> <map:match pattern="portfolio.html">
> <map:read src="content/ovr/portfolio.html" mime-type="file"/>
> </map:match>
>
> my question is, where do I insert the code. The xmap is a little 
> confusing to say the least
>
> thanks in advance all
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>