URI matching
Index
Main
Spirit
Design
Overview
URI matching
Accessing Insight content
HCI
URLs
Logicsheet
Overview

Declaration

Considering the following Matcher declaration in Cocoon Sitemap :

<map:matcher
    logger="sitemap.matcher.publicationformat"
    name="publication-format"
    src="fr.paris5.shaman.spirit.insightsource.PublicationFormatMatcher"
/>

We want the following Sitemap fragment to build the right pipeline if format of referred publication is "MY-FORMAT", according to Spirit-tailored URLs format :

<map:match type="publication-format" pattern="MY-FORMAT" >
  <!-- pipeline description here -->
</map:match>

This can be done because requested URI contains information implicit or explicit information on the Publication format, which will finally be matched with the pattern argument.

Activity diagram

URI Matching




Copyright 2002 Laurent Caillette and l'Université René Descartes, Paris 5.
All rights reserved.