hi everyone!
i have a publication in lenya 1.4 that does not currently have its own
sitemap.xmap (it inherits it from the default). i don't want to copy and
modify it, since it scares me. instead i'm trying to write a very short
sitemap that mounts the template's sitemap and will take some local
modifications later.
2 questions:
the 1.2 docs mention both "sitemap.xmap" and "publication-sitemap.xmap".
what are they both for? is this distinction still used in 1.4, or does
everything go into sitemap.xmap?
how do i use the fallback mechanism? i find the syntax very confusing
and inconsistent. sometimes it's "fallback:///somefile" (which makes
sense to me), and sometimes it's "{fallback:somefile}" which does not.
specifically, why does this sitemap not work?
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline>
<map:match pattern="**">
<!--
<map:mount src="../default/sitemap.xmap" uri-prefix=""
check-reload="yes" reload-method="synchron"/>
-->
<map:mount src="{fallback:sitemap.xmap}" uri-prefix=""
check-reload="yes" reload-method="synchron"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
(the commented section does work as expected, and the other mount call
causes a 500 error.)
i also tried fallback://sitemap.xmap with one, two and three slashes.
all throw a 500.
tia,
jörn
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]