apache > cocoon
 
Font size:      

Template-Matcher in Cocoon (2.1 legacy document)

Warning
This document was copied as is from the Cocoon 2.1 documentation, but has not yet been fully reviewed or moved to its new home.

TemplateMatcher

NAMEtemplate
WHATThe TemplateMatcher component is used to serve data in a sitemap pipeline.
TYPEMatcher, Sitemap Component
BLOCKCore/Block-Name/Scratchpad
CLASSorg.apache.cocoon.matching.TemplateMatcher
SINCECocoon X.Y
CACHEABLEnot applicable

Description

A general description of TemplateMatcher

Usage

A usage scenario of TemplateMatcher

Sitemap pipeline examples

<map:pipelines>
  <map:pipeline>
    <map:match pattern="page-*.html">
      <map:generator 
        src="{1}"
      >
        <!-- option sitemap parameters -->
      </map:generator>
    </map:match>
  </map:pipeline>
  ...
       

Sitemap component configuration example

<map:matchers...
  <map:matcher name="template" 
    src="org.apache.cocoon.matching.TemplateMatcher"
    logger="sitemap.matcher.template" 
  />
    <!-- optional matcher configuration -->
    ...
  </map:matcher>
...

Configuration

Explain the sitemap matcher configuration, options when declaring template matcher

Setup

Explain the sitemap matcher setup, ie options when using template matcher

Effect on Object Model and Sitemap Parameters

Bugs/Caveats

History

MM-DD-YY: initial creation

See also

A general documentation about matchers is available at Matchers and Selectors.

Comments

add your comments