CssColumnSite

Articles

More

Links

RegexpURIDefaultsMatcher Tutorial

This document describes how-to stream line your sitemap when you are using the Paginator transformer.

Paginator Transformer

The Paginator tranformer emits URIs of the form foo({N}).html for this site. {N} represents the current paged URI page.

Thus the sitemap has to handle now URIs of the form foo.html, and foo({N}).html. Using a simple redirect for non paginated URIs may be an option. The solution described here tries to handle both URI formats uniquely by using RegexpURIDefaultsMatcher.

Streamlining The Sitemap

The sitemap of this site uses the same processing for URI of the form name.html, and name(N).html.

Thus it would be nice if a matcher matches both URIs, and provide the optional page value encoded as (N) to the Paginator transformer.


  [Next]

PDF
regexpuridefaultsmatcher-tutorial

Hints

» Use Search to search all documents.
» Use Recreate Index to create the inital index. This may be neccessary once at startup.

» Search and Recreate Index are available at HTML Cocoon online deployment, only.
» Search and Recreate Index are not available on WML online, WML offline, and HTML offline deployments.