View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cocoon/trunk/server/src/webapp/sitemap.xmap
Revision: 188
Committed: Thu Sep 16 15:47:52 2004 UTC (15 years, 8 months ago) by unico
File size: 8292 byte(s)
Error occurred while calculating annotation data.
Log Message:
new project hippo-cocoon initial checkin

File Contents

# Content
1 <?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 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
111 <parameter name="outputBufferSize" value="32768"/>
112 </map:pipe>
113 <map:pipe name="ecaching"
114 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
115 <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/>
116 <parameter name="outputBufferSize" value="32768"/>
117 </map:pipe>
118 <map:pipe name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline">
119 <parameter name="outputBufferSize" value="32768"/>
120 </map:pipe>
121 </map:pipes>
122 </map:components>
123
124 <map:pipelines>
125
126 <map:pipeline id="system-private" internal-only="true"/>
127
128 <map:pipeline id="system-public">
129
130 <map:match pattern="system/images/*.gif">
131 <map:read mime-type="images/gif" src="resources/images/{1}.gif"/>
132 </map:match>
133
134 <map:match pattern="system/styles/*.css">
135 <map:read mime-type="text/css" src="resources/styles/{1}.css"/>
136 </map:match>
137
138 <map:match pattern="system/scripts/*.js">
139 <map:read mime-type="text/javascript" src="resources/scripts/{1}.js"/>
140 </map:match>
141
142 <map:match pattern="system/favicon.ico">
143 <map:read mime-type="image/x-icon" src="resources/icons/hippo.ico"/>
144 </map:match>
145
146 <map:match type="site">
147 <map:mount src="{src}" uri-prefix="{uri-prefix}"/>
148 </map:match>
149
150 <map:select id="domains" type="parameter">
151 <map:parameter name="parameter-selector-test" value="{request:serverName}"/>
152 </map:select>
153
154 <map:select id="cli" type="parameter">
155 <map:parameter name="parameter-selector-test" value="{request-param:user-agent}"/>
156 </map:select>
157
158 <!-- welcome page -->
159 <map:match pattern="">
160 <map:generate src="welcome.xml"/>
161 <map:transform src="welcome.xslt">
162 <map:parameter name="contextPath" value="{request:contextPath}"/>
163 <map:parameter name="year" value="{cocoon-properties:/year}"/>
164 </map:transform>
165 <map:serialize type="html"/>
166 </map:match>
167
168 <map:match pattern="status">
169 <map:generate type="status"/>
170 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
171 <map:serialize/>
172 </map:match>
173
174 </map:pipeline>
175
176 <map:handle-errors>
177 <map:select type="exception">
178
179 <map:when test="not-found">
180 <map:generate type="notifying"/>
181 <map:transform src="stylesheets/system/error2html.xslt">
182 <map:parameter name="pageTitle" value="Resource not found"/>
183 </map:transform>
184 <map:serialize status-code="404"/>
185 </map:when>
186
187 <map:when test="invalid-continuation">
188 <map:generate src="not-found.xml"/>
189 <map:transform src="welcome.xslt"/>
190 <map:serialize status-code="404"/>
191 </map:when>
192
193 <map:otherwise>
194 <map:generate type="notifying"/>
195 <map:transform src="stylesheets/system/error2html.xslt"/>
196 <map:serialize status-code="500"/>
197 </map:otherwise>
198 </map:select>
199
200 </map:handle-errors>
201 </map:pipelines>
202 </map:sitemap>

Properties

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