View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cocoon/trunk/server/src/webapp/sitemap.xmap
Revision: 219
Committed: Tue Nov 9 13:32:03 2004 UTC (16 years, 6 months ago) by unico
File size: 8454 byte(s)
Log Message:
latest jars

File Contents

# User Rev Content
1 unico 188 <?xml version="1.0" encoding="UTF-8"?>
2     <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
3     <map:components>
4     <map:generators default="file">
5     <map:generator name="file"
6     src="org.apache.cocoon.generation.FileGenerator"
7     label="content"
8     logger="sitemap.generator.file"
9     pool-min="4" pool-max="32" pool-grow="4"
10     />
11     <map:generator name="jx"
12     src="org.apache.cocoon.generation.JXTemplateGenerator"
13     label="content"
14     logger="sitemap.generator.jx"
15     pool-min="4" pool-max="32" pool-grow="4"
16     />
17     <map:generator name="status"
18     src="org.apache.cocoon.generation.StatusGenerator"
19     label="content"
20     logger="sitemap.generator.status"
21     pool-min="4" pool-max="32" pool-grow="4"
22     />
23     <map:generator name="notifying" src="org.apache.cocoon.sitemap.NotifyingGenerator"/>
24     </map:generators>
25     <map:transformers default="xslt">
26     <map:transformer name="xslt"
27     src="org.apache.cocoon.transformation.TraxTransformer"
28     logger="sitemap.transformer.xslt"
29     pool-min="4" pool-max="32" pool-grow="2">
30     <use-request-parameters>false</use-request-parameters>
31     <use-session-parameters>false</use-session-parameters>
32     <use-cookie-parameters>false</use-cookie-parameters>
33     <xslt-processor-role>xalan</xslt-processor-role>
34     <check-includes>true</check-includes>
35     </map:transformer>
36     <map:transformer name="xsltc"
37     logger="sitemap.transformer.xsltc"
38     src="org.apache.cocoon.transformation.TraxTransformer"
39     pool-min="4" pool-max="32" pool-grow="4">
40     <use-request-parameters>false</use-request-parameters>
41     <use-session-parameters>false</use-session-parameters>
42     <use-cookie-parameters>false</use-cookie-parameters>
43     <xslt-processor-role>xsltc</xslt-processor-role>
44     <check-includes>true</check-includes>
45     </map:transformer>
46     <map:transformer name="webdav"
47     src="nl.hippo.cocoon.transformation.WebDAVTransformer"
48     logger="sitemap.transformers.webdav"
49     pool-min="4" pool-max="32" pool-grow="4">
50     <parameter name="httpstate" value="site:httpstate"/>
51     </map:transformer>
52     </map:transformers>
53     <map:serializers default="html">
54     <map:serializer name="links"
55     logger="sitemap.serializer.links"
56     src="org.apache.cocoon.serialization.LinkSerializer"
57     pool-min="4" pool-max="32" pool-grow="4"
58     />
59     <map:serializer name="xml"
60     logger="sitemap.serializer.xml"
61     mime-type="text/xml"
62     src="org.apache.cocoon.serialization.XMLSerializer"
63     pool-min="4" pool-max="32" pool-grow="4"
64     />
65     <map:serializer name="html"
66     logger="sitemap.serializer.html"
67     mime-type="text/html"
68     src="org.apache.cocoon.serialization.HTMLSerializer"
69     pool-min="4" pool-max="32" pool-grow="4">
70     <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
71     <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
72     </map:serializer>
73     </map:serializers>
74     <map:readers default="resource">
75     <map:reader name="resource"
76     src="org.apache.cocoon.reading.ResourceReader"
77     logger="sitemap.reader.resource"
78     pool-min="4" pool-max="32" pool-grow="4"
79     />
80     </map:readers>
81     <map:matchers default="wildcard">
82     <map:matcher name="wildcard"
83     src="org.apache.cocoon.matching.WildcardURIMatcher"
84     logger="sitemap.matcher.wildcard"
85     />
86     <map:matcher name="site"
87     src="nl.hippo.cocoon.matching.SiteMatcher"
88     logger="sitemap.matcher.site"
89     />
90     </map:matchers>
91     <map:selectors default="parameter">
92     <map:selector name="exception"
93     src="org.apache.cocoon.selection.ExceptionSelector"
94     logger="sitemap.selector.exception">
95     <exception name="not-found"
96     class="org.apache.cocoon.ResourceNotFoundException"
97     />
98     <exception name="invalid-continuation"
99     class="org.apache.cocoon.components.flow.InvalidContinuationException"
100     />
101     <exception class="java.lang.Throwable" unroll="true"/>
102     </map:selector>
103     <map:selector name="parameter"
104     src="org.apache.cocoon.selection.ParameterSelector"
105     logger="sitemap.selector.parameter"
106     />
107     </map:selectors>
108     <map:pipes default="caching">
109     <map:pipe name="caching"
110 unico 217 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"
111     logger="sitemap.pipes.caching">
112 unico 188 <parameter name="outputBufferSize" value="32768"/>
113     </map:pipe>
114     <map:pipe name="ecaching"
115 unico 217 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"
116     logger="sitemap.pipes.ecaching">
117 unico 188 <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/>
118     <parameter name="outputBufferSize" value="32768"/>
119     </map:pipe>
120 unico 217 <map:pipe name="noncaching"
121     src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"
122     logger="sitemap.pipes.noncaching">
123 unico 188 <parameter name="outputBufferSize" value="32768"/>
124     </map:pipe>
125     </map:pipes>
126     </map:components>
127    
128     <map:pipelines>
129    
130     <map:pipeline id="system-private" internal-only="true"/>
131    
132     <map:pipeline id="system-public">
133    
134     <map:match pattern="system/images/*.gif">
135     <map:read mime-type="images/gif" src="resources/images/{1}.gif"/>
136     </map:match>
137    
138     <map:match pattern="system/styles/*.css">
139     <map:read mime-type="text/css" src="resources/styles/{1}.css"/>
140     </map:match>
141    
142     <map:match pattern="system/scripts/*.js">
143     <map:read mime-type="text/javascript" src="resources/scripts/{1}.js"/>
144     </map:match>
145    
146     <map:match pattern="system/favicon.ico">
147     <map:read mime-type="image/x-icon" src="resources/icons/hippo.ico"/>
148     </map:match>
149    
150     <map:match type="site">
151     <map:mount src="{src}" uri-prefix="{uri-prefix}"/>
152     </map:match>
153    
154     <map:select id="domains" type="parameter">
155     <map:parameter name="parameter-selector-test" value="{request:serverName}"/>
156     </map:select>
157    
158     <map:select id="cli" type="parameter">
159     <map:parameter name="parameter-selector-test" value="{request-param:user-agent}"/>
160     </map:select>
161    
162     <!-- welcome page -->
163     <map:match pattern="">
164     <map:generate src="welcome.xml"/>
165     <map:transform src="welcome.xslt">
166     <map:parameter name="contextPath" value="{request:contextPath}"/>
167     <map:parameter name="year" value="{cocoon-properties:/year}"/>
168     </map:transform>
169     <map:serialize type="html"/>
170     </map:match>
171    
172     <map:match pattern="status">
173     <map:generate type="status"/>
174     <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
175     <map:serialize/>
176     </map:match>
177    
178     </map:pipeline>
179    
180     <map:handle-errors>
181     <map:select type="exception">
182    
183     <map:when test="not-found">
184     <map:generate type="notifying"/>
185     <map:transform src="stylesheets/system/error2html.xslt">
186     <map:parameter name="pageTitle" value="Resource not found"/>
187     </map:transform>
188     <map:serialize status-code="404"/>
189     </map:when>
190    
191     <map:when test="invalid-continuation">
192     <map:generate src="not-found.xml"/>
193     <map:transform src="welcome.xslt"/>
194     <map:serialize status-code="404"/>
195     </map:when>
196    
197     <map:otherwise>
198     <map:generate type="notifying"/>
199     <map:transform src="stylesheets/system/error2html.xslt"/>
200     <map:serialize status-code="500"/>
201     </map:otherwise>
202     </map:select>
203    
204     </map:handle-errors>
205     </map:pipelines>
206     </map:sitemap>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision