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 |
nvankampenhout |
4871 |
src="nl.hippo.cocoon.generation.JXTemplateGenerator" |
13 |
unico |
188 |
label="content" |
14 |
|
|
logger="sitemap.generator.jx" |
15 |
|
|
pool-min="4" pool-max="32" pool-grow="4" |
16 |
|
|
/> |
17 |
|
|
<map:generator name="status" |
18 |
aschrijvers |
2882 |
src="nl.hippo.cocoon.generation.StatusGenerator" |
19 |
unico |
188 |
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 |
mpfingsthorn |
1589 |
<exception name="not-found" |
99 |
|
|
class="java.io.FileNotFoundException" |
100 |
|
|
/> |
101 |
unico |
188 |
<exception name="invalid-continuation" |
102 |
|
|
class="org.apache.cocoon.components.flow.InvalidContinuationException" |
103 |
|
|
/> |
104 |
aschrijvers |
2718 |
<exception name="not-found" |
105 |
|
|
class="org.apache.excalibur.source.SourceNotFoundException" |
106 |
|
|
/> |
107 |
unico |
188 |
<exception class="java.lang.Throwable" unroll="true"/> |
108 |
|
|
</map:selector> |
109 |
|
|
<map:selector name="parameter" |
110 |
|
|
src="org.apache.cocoon.selection.ParameterSelector" |
111 |
|
|
logger="sitemap.selector.parameter" |
112 |
|
|
/> |
113 |
|
|
</map:selectors> |
114 |
aschrijvers |
2718 |
<map:actions> |
115 |
|
|
<map:action name="clear-cache" |
116 |
|
|
logger="sitemap.action.clear-cache" |
117 |
|
|
src="org.apache.cocoon.acting.ClearCacheAction" |
118 |
|
|
/> |
119 |
|
|
<map:action name="clear-eventawaretransientstore" |
120 |
|
|
logger="sitemap.action.clear-cache" |
121 |
|
|
src="nl.hippo.cocoon.acting.ClearEventAwareTransientStoreAction" |
122 |
|
|
/> |
123 |
|
|
</map:actions> |
124 |
unico |
188 |
<map:pipes default="caching"> |
125 |
|
|
<map:pipe name="caching" |
126 |
unico |
217 |
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline" |
127 |
|
|
logger="sitemap.pipes.caching"> |
128 |
mpfingsthorn |
1589 |
<!-- Commented out caching to make error reporting work --> |
129 |
|
|
<!--parameter name="outputBufferSize" value="32768"/--> |
130 |
unico |
188 |
</map:pipe> |
131 |
|
|
<map:pipe name="ecaching" |
132 |
unico |
217 |
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline" |
133 |
|
|
logger="sitemap.pipes.ecaching"> |
134 |
unico |
188 |
<parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/> |
135 |
mpfingsthorn |
1589 |
<!-- Commented out caching to make error reporting work --> |
136 |
|
|
<!--parameter name="outputBufferSize" value="32768"/--> |
137 |
unico |
188 |
</map:pipe> |
138 |
aschrijvers |
3843 |
|
139 |
|
|
<map:pipe logger="sitemap.pipes.ecaching" name="wbdvcaching" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"> |
140 |
|
|
<parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryDoc"/> |
141 |
|
|
<!-- Commented out caching to make error reporting work --> |
142 |
|
|
<!--parameter name="outputBufferSize" value="32768"/--> |
143 |
|
|
</map:pipe> |
144 |
|
|
|
145 |
unico |
217 |
<map:pipe name="noncaching" |
146 |
|
|
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline" |
147 |
|
|
logger="sitemap.pipes.noncaching"> |
148 |
mpfingsthorn |
1589 |
<!-- A 1 MB (1048576 B) buffer for the noncaching pipeline, for pdfs and things? --> |
149 |
|
|
<!-- Leaving it at 32KB for now, since it doesn't really matter here --> |
150 |
unico |
188 |
<parameter name="outputBufferSize" value="32768"/> |
151 |
|
|
</map:pipe> |
152 |
|
|
</map:pipes> |
153 |
|
|
</map:components> |
154 |
|
|
|
155 |
|
|
<map:pipelines> |
156 |
|
|
|
157 |
|
|
<map:pipeline id="system-private" internal-only="true"/> |
158 |
|
|
|
159 |
|
|
<map:pipeline id="system-public"> |
160 |
|
|
|
161 |
|
|
<map:match pattern="system/images/*.gif"> |
162 |
|
|
<map:read mime-type="images/gif" src="resources/images/{1}.gif"/> |
163 |
|
|
</map:match> |
164 |
|
|
|
165 |
|
|
<map:match pattern="system/styles/*.css"> |
166 |
|
|
<map:read mime-type="text/css" src="resources/styles/{1}.css"/> |
167 |
|
|
</map:match> |
168 |
|
|
|
169 |
|
|
<map:match pattern="system/scripts/*.js"> |
170 |
|
|
<map:read mime-type="text/javascript" src="resources/scripts/{1}.js"/> |
171 |
|
|
</map:match> |
172 |
|
|
|
173 |
|
|
<map:match pattern="system/favicon.ico"> |
174 |
|
|
<map:read mime-type="image/x-icon" src="resources/icons/hippo.ico"/> |
175 |
|
|
</map:match> |
176 |
|
|
|
177 |
|
|
<map:match type="site"> |
178 |
|
|
<map:mount src="{src}" uri-prefix="{uri-prefix}"/> |
179 |
|
|
</map:match> |
180 |
|
|
|
181 |
|
|
<map:select id="domains" type="parameter"> |
182 |
|
|
<map:parameter name="parameter-selector-test" value="{request:serverName}"/> |
183 |
|
|
</map:select> |
184 |
|
|
|
185 |
|
|
<map:select id="cli" type="parameter"> |
186 |
|
|
<map:parameter name="parameter-selector-test" value="{request-param:user-agent}"/> |
187 |
|
|
</map:select> |
188 |
|
|
|
189 |
|
|
<!-- welcome page --> |
190 |
|
|
<map:match pattern=""> |
191 |
|
|
<map:generate src="welcome.xml"/> |
192 |
|
|
<map:transform src="welcome.xslt"> |
193 |
|
|
<map:parameter name="contextPath" value="{request:contextPath}"/> |
194 |
|
|
<map:parameter name="year" value="{cocoon-properties:/year}"/> |
195 |
|
|
</map:transform> |
196 |
|
|
<map:serialize type="html"/> |
197 |
|
|
</map:match> |
198 |
|
|
|
199 |
bvanhalderen |
7133 |
<map:match pattern="welcome"> |
200 |
|
|
<map:generate src="welcome.xml"/> |
201 |
|
|
<map:transform src="welcome.xslt"> |
202 |
|
|
<map:parameter name="contextPath" value="{request:contextPath}"/> |
203 |
|
|
<map:parameter name="year" value="{cocoon-properties:/year}"/> |
204 |
|
|
</map:transform> |
205 |
|
|
<map:serialize type="html"/> |
206 |
|
|
</map:match> |
207 |
|
|
|
208 |
unico |
188 |
<map:match pattern="status"> |
209 |
nvankampenhout |
3430 |
<map:generate type="status"> |
210 |
nvankampenhout |
9289 |
<map:parameter name="hippo-cocoon" value="2.1.11.1"/> |
211 |
nvankampenhout |
3430 |
<map:parameter name="store" value="{request-param:store}"/> |
212 |
aschrijvers |
3843 |
<map:parameter name="extended-report" value="{request-param:extended-report}"/> |
213 |
|
|
<map:parameter name="clear-stats" value="{request-param:clear-stats}"/> |
214 |
|
|
<map:parameter name="analyze-this" value="{request-param:analyze-this}"/> |
215 |
nvankampenhout |
3430 |
</map:generate> |
216 |
unico |
188 |
<map:transform type="xslt" src="stylesheets/system/status2html.xslt"/> |
217 |
|
|
<map:serialize/> |
218 |
|
|
</map:match> |
219 |
aschrijvers |
2718 |
|
220 |
|
|
<map:match pattern="clearcache"> |
221 |
|
|
<map:act type="clear-cache"> |
222 |
|
|
<map:generate type="status"/> |
223 |
|
|
<map:transform type="xslt" src="stylesheets/system/status2html.xslt"/> |
224 |
|
|
<map:serialize/> |
225 |
|
|
</map:act> |
226 |
|
|
</map:match> |
227 |
|
|
|
228 |
aschrijvers |
2882 |
<map:match pattern="clearcache-repository-doc"> |
229 |
|
|
<map:act type="clear-cache"> |
230 |
|
|
<map:parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryDoc"/> |
231 |
|
|
<map:generate type="status"/> |
232 |
|
|
<map:transform type="xslt" src="stylesheets/system/status2html.xslt"/> |
233 |
|
|
<map:serialize/> |
234 |
|
|
</map:act> |
235 |
|
|
</map:match> |
236 |
|
|
|
237 |
|
|
<map:match pattern="clearcache-repository-binary"> |
238 |
|
|
<map:act type="clear-cache"> |
239 |
|
|
<map:parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryBinary"/> |
240 |
|
|
<map:generate type="status"/> |
241 |
|
|
<map:transform type="xslt" src="stylesheets/system/status2html.xslt"/> |
242 |
|
|
<map:serialize/> |
243 |
|
|
</map:act> |
244 |
|
|
</map:match> |
245 |
|
|
|
246 |
aschrijvers |
2718 |
<map:match pattern="clear-eventawaretransientstore"> |
247 |
|
|
<map:act type="clear-eventawaretransientstore"> |
248 |
|
|
<map:generate type="status"/> |
249 |
|
|
<map:transform type="xslt" src="stylesheets/system/status2html.xslt"/> |
250 |
|
|
<map:serialize/> |
251 |
|
|
</map:act> |
252 |
|
|
</map:match> |
253 |
unico |
188 |
|
254 |
|
|
</map:pipeline> |
255 |
|
|
|
256 |
|
|
<map:handle-errors> |
257 |
|
|
<map:select type="exception"> |
258 |
|
|
|
259 |
|
|
<map:when test="not-found"> |
260 |
|
|
<map:generate type="notifying"/> |
261 |
|
|
<map:transform src="stylesheets/system/error2html.xslt"> |
262 |
|
|
<map:parameter name="pageTitle" value="Resource not found"/> |
263 |
|
|
</map:transform> |
264 |
|
|
<map:serialize status-code="404"/> |
265 |
|
|
</map:when> |
266 |
|
|
|
267 |
|
|
<map:when test="invalid-continuation"> |
268 |
|
|
<map:generate src="not-found.xml"/> |
269 |
|
|
<map:transform src="welcome.xslt"/> |
270 |
|
|
<map:serialize status-code="404"/> |
271 |
|
|
</map:when> |
272 |
|
|
|
273 |
|
|
<map:otherwise> |
274 |
|
|
<map:generate type="notifying"/> |
275 |
|
|
<map:transform src="stylesheets/system/error2html.xslt"/> |
276 |
|
|
<map:serialize status-code="500"/> |
277 |
|
|
</map:otherwise> |
278 |
|
|
</map:select> |
279 |
|
|
|
280 |
|
|
</map:handle-errors> |
281 |
|
|
</map:pipelines> |
282 |
bvanhalderen |
4413 |
</map:sitemap> |