blob: f27c58e30cb2b0886e99a35ded5cf1a77b311b8f [file] [log] [blame]
<?xml version="1.0"?>
<!-- CVS: $Id: sitemap.xmap,v 1.33 2003/02/05 02:15:40 michicms Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Components ================================ -->
<map:components>
<map:generators default="file">
<map:generator name="file" logger="sitemap.generator.file" label="content,data" src="org.apache.cocoon.generation.FileGenerator" pool-max="32" pool-min="16" pool-grow="4"/>
<map:generator name="file-nolabel" logger="sitemap.generator.file-nolabel" src="org.apache.cocoon.generation.FileGenerator" pool-max="32" pool-min="16" pool-grow="4"/>
<map:generator name="directory" logger="sitemap.generator.directory" label="content,data" src="org.apache.cocoon.generation.DirectoryGenerator"/>
<map:generator name="serverpages" logger="sitemap.generator.serverpages" label="content,data" src="org.apache.cocoon.generation.ServerPagesGenerator"/>
<map:generator name="request" src="org.apache.cocoon.generation.RequestGenerator"/>
<map:generator name="stream" src="org.apache.cocoon.generation.StreamGenerator"/>
</map:generators>
<map:transformers default="xslt">
<map:transformer name="xslt" logger="sitemap.transformer.xslt" src="org.apache.cocoon.transformation.TraxTransformer" pool-max="32" pool-min="16" pool-grow="4">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
<use-deli>false</use-deli>
</map:transformer>
<map:transformer name="log" logger="sitemap.transformer.log" src="org.apache.cocoon.transformation.LogTransformer"/>
<map:transformer name="xinclude" logger="sitemap.transformer.xinclude" src="org.apache.cocoon.transformation.XIncludeTransformer"/>
<map:transformer name="cinclude" logger="sitemap.transformer.cinclude" src="org.apache.cocoon.transformation.CIncludeTransformer"/>
<map:transformer name="writeDOMsession" logger="sitemap.transformer.writeDOMsession" src="org.apache.cocoon.transformation.WriteDOMSessionTransformer"/>
<map:transformer name="readDOMsession" logger="sitemap.transformer.readDOMsession" src="org.apache.cocoon.transformation.ReadDOMSessionTransformer"/>
</map:transformers>
<map:readers default="resource">
<map:reader name="resource" logger="sitemap.reader.resource" src="org.apache.cocoon.reading.ResourceReader"/>
</map:readers>
<map:serializers default="html">
<map:serializer name="xml" mime-type="text/xml" logger="sitemap.serializer.xml" src="org.apache.cocoon.serialization.XMLSerializer" pool-max="32" pool-min="16" pool-grow="4"/>
<map:serializer name="html" mime-type="text/html" logger="sitemap.serializer.html" src="org.apache.cocoon.serialization.HTMLSerializer">
<encoding>ISO-8859-1</encoding>
</map:serializer>
</map:serializers>
<map:matchers default="wildcard">
<map:matcher name="wildcard" logger="sitemap.matcher.wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
<map:matcher name="regexp" logger="sitemap.matcher.regexp" src="org.apache.cocoon.matching.RegexpURIMatcher"/>
<map:matcher name="request-parameter" logger="sitemap.matcher.request-parameter" src="org.apache.cocoon.matching.RequestParameterMatcher"/>
<map:matcher name="sessionstate" logger="sitemap.matcher.sessionstate" src="org.apache.cocoon.matching.WildcardSessionAttributeMatcher">
<attribute-name>org.apache.cocoon.SessionState</attribute-name>
</map:matcher>
<map:matcher name="next-page" logger="sitemap.matcher.next-page" src="org.apache.cocoon.matching.WildcardRequestParameterMatcher">
<parameter-name>next-state</parameter-name>
</map:matcher>
<map:matcher name="referer-match" logger="sitemap.matcher.referer-match" src="org.apache.cocoon.matching.WildcardHeaderMatcher">
<header-name>referer</header-name>
</map:matcher>
</map:matchers>
</map:components>
<map:views>
<map:view name="first" from-position="first">
<map:serialize type="xml"/>
</map:view>
</map:views>
<map:pipelines>
<!-- Welcome to Wyona -->
<map:pipeline>
<map:match pattern="">
<map:redirect-to uri="index.html"/>
</map:match>
<map:match pattern="index.html">
<map:read src="resources/html/index.html" mime-type="text/html"/>
</map:match>
</map:pipeline>
<!-- Search with Lucene -->
<map:pipeline>
<map:match pattern="lucene/**">
<map:mount uri-prefix="lucene" src="wyona/cms/lucene.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
<map:match pattern="*/search/lucene">
<map:generate type="serverpages" src="wyona/cms/docs/cms/search-and-results.xsp">
<!--<map:parameter name="index-dir" value="wyona/cms/resources/cms/misc/lucene/index"/>-->
<map:parameter name="index-dir" value="wyona/cms/pubs/{1}/resources/publication/search/lucene/index"/>
<!--<map:parameter name="index-dir" value="/tmp/wyona-cms/pubs/{1}/resources/publication/search/lucene/index"/>-->
<!--<map:parameter name="excerpt-dir" value="wyona/cms/resources/cms/misc/lucene/htdocs_dump_regression_test"/>-->
<map:parameter name="excerpt-dir" value="wyona/cms/pubs/{1}/resources/publication/export/pending"/>
<!--<map:parameter name="excerpt-dir" value="wyona/cms/pubs/{1}/resources/publication/search/lucene/htdocs_dump"/>-->
<map:parameter name="max-hits-per-page" value="3"/>
<map:parameter name="max-pages" value="7"/>
</map:generate>
<map:transform src="wyona/cms/stylesheets/cms/Page/Search/sort.xsl"/>
<map:transform src="wyona/cms/pubs/{1}/stylesheets/cms/search-and-results.xsl"/>
<!--
<map:transform src="wyona/cms/stylesheets/cms/Page/Search/search-and-results.xsl"/>
-->
<map:serialize type="html"/>
</map:match>
<map:handle-errors>
<map:serialize type="xml"/>
</map:handle-errors>
</map:pipeline>
<!-- /Search with Lucene -->
<map:pipeline>
<!-- Editor Xopus -->
<map:match pattern="xopus/**">
<map:mount uri-prefix="xopus" src="wyona/cms/xopus.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
<!-- Editor Bitflux -->
<map:match pattern="bitfluxeditor/**">
<map:mount uri-prefix="bitfluxeditor" src="wyona/cms/bitfluxeditor.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
</map:pipeline>
<map:pipeline>
<!-- Documentation -->
<map:match pattern="docs/**">
<map:mount uri-prefix="docs" src="wyona/cms/pubs/wyona-cms-docs/sitemap.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
<!-- Wyona GUI -->
<map:match pattern="wyona/**">
<map:mount uri-prefix="wyona" src="wyona/cms/wyona.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
<!-- Publications -->
<map:match pattern="*/**">
<map:mount uri-prefix="{1}" src="wyona/cms/pubs/{1}/sitemap.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
</map:pipeline>
<!-- Original Cocoon Sitemap (without SVG and FOP!) -->
<!--
<map:pipeline>
<map:match pattern="**">
<map:mount uri-prefix="" src="cocoon.xmap" check-reload="true" reload-method="synchron"/>
</map:match>
<map:handle-errors>
<map:transform src="context://stylesheets/system/error2html.xsl"/>
<map:serialize status-code="500"/>
</map:handle-errors>
</map:pipeline>
-->
<!-- /Original Cocoon Sitemap (without SVG and FOP!) -->
</map:pipelines>
</map:sitemap>