View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cocoon/trunk/server/src/webapp/sitemap.xmap
Revision: 217
Committed: Tue Nov 2 16:25:12 2004 UTC (16 years, 7 months ago) by unico
File size: 8475 byte(s)
Log Message:
set loggers for pipes

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

Properties

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