Robert Goene wrote:
Here you go. I use the 1.4 trunk. The file should be placed in the
default publication directory.
The problem is the following:
In global-sitemap.xmap, the usecase request parameters are matched
before the publet URLs. That's why your cocoon:// request don't end
up in the publet sitemap.
Workaround:
- mount the publet sitemap directly in usecase-search.xmap
<map:match pattern="publets/*/**">
<map:mount uri-prefix="publets/{1}/"
src="context://lenya/publets/{1}/sitemap.xmap" check-reload="true"
reload-method="synchron"/>
</map:match>
- use cocoon:/ instead of cocoon:// to stay in the same sitemap
<cinclude:src>cocoon:/publets/sitetree/default/authoring/search/index.html.xml</cinclude:src>
HTH,
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]