The relevant Sitemap / Subsitemap pipeline entries are:
[A] Sitemap ( /webapps/cocoon/sitemap.xmap ) --
<!-- 'mount other sample pages' -->
<map:match pattern="samples/**">
<map:mount check-reload="yes" src="samples/" uri-prefix="samples"/>
</map:match>
[B] Subsitemap ( /webapps/cocoon/samples/sitemap.xmap ) --
<map:match pattern="*/**">
<map:mount uri-prefix="{1}" src="{1}/" check-reload="yes"/>
</map:match>
The reason why I am so puzzled about the outcome that I am getting is, based on my understanding of sitemaps, if a request for: /webapps/cocoon/samples/poi produces the appropriate Index Page:
MATCH in sitemap: samples/poi
MATCH in subsitemap: poi
Then, I would believe the same would happen for a request for: /webapps/cocoon/samples/reames
MATCH in sitemap: samples/reames
MATCH in subsitemap: reames
The sitemap log appears to confirm my understanding.
Thanks again. I am looking for ways to reduce the site content, so that maybe then the problem will become visible.
Regards,
Douglas Reames
At 09:33 PM 2/10/2003 +0100, you wrote:
Douglas Reames wrote: > Would someone familiar with the Cocoon D ocumentation web app please > give me a tip about extending it. > > I have: > [1] Added a branch to: /webapps/cocoon/samples/ > [2] New branch ( /webapps/cocoon/samples/reames ) is a mirror image of > /webapps/cocoon/samples/poi, > [3] Finally, I added an entry to the Sample Index page: > /webapps/cocoon/docs/samples/samples.xml > > When I select my new directory from the Index page, I do not get > errors, but I also get nothing but a Cocoon Logo. I expected the > mirror image's (poi's) content. > > Any ideas? Are the modifications described above all that I should > have to make? > > Regards, > Douglas Reames >Douglas, have a look at the Sitemap, especially the sub-sitemap example. This is essentially a pipeline which announces the subdirectory to Cocoon. make sure, your new branch is also declared there. HTH, Stephan --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>