Sitemap

Overview

In Cocoon 2 the sitemap has two responsibilities:

It's therefore the single central place from which a Cocoon 2 website is managed (although there are other configuration files, see ConfiguringCocoon)

The old compiled sitemap was turned into executable code (sitemap_xmap.java) using the sitemap Logicsheet. The sitemap can be re-generated each time sitemap.xmap is modified, this is a configuration option.

The new sitemap is now interpreted rather than compiled, so it's much faster to load and process. Here is a guide about InterpretedSitemapInternals.

Structure

A sitemap consists of:

The sitemap namespace URI is: http://apache.org/cocoon/sitemap/1.0
Note that this will be versioned.

The overal structure is described in SitemapStructure

Example

See MinimalSitemapConfiguration

Mounting Sitemaps

See UnderstandingCocoonMounts

Misc

Cocoon understands several Protocols

How to do Redirects in the Sitemap.