forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: forrest output charset mismatch with httpd
Date Wed, 01 Feb 2006 00:55:56 GMT
El mié, 01-02-2006 a las 01:49 +0100, Thorsten Scherler escribió:
...
Sorry it is late, all cocoon:/ should read cocoon:// since the matches
are in the core and not in the same sitemap.

> 
> into <map:serializers>
> <map:serializer name="html" mime-type="text/html"
> src="org.apache.cocoon.serialization.HTMLSerializer">
>  <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
>  <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
>  <encoding>ISO-8859-1</encoding>
> </map:serializer>
> 
> then into <map:resources>
> <map:resource name="skinit">
>  <map:transform src="{lm:{type}}">
>   <map:parameter name="notoc" value="{notoc}"/>
>   <!-- For backwards-compat with 0.2 - 0.4 skins -->
>   <map:parameter name="isfaq" value="{notoc}"/>
>   <map:parameter name="nopdf" value="{nopdf}"/>
>   <map:parameter name="path" value="{path}"/>
>   <map:parameter name="config-file" value="{project:skinconf}"/>
>   </map:transform>
>   <map:serialize/>
> </map:resource>
> 
> then in <map:pipelines>
> <!--pipeline that "marries" the docs in the root dir with the skin to
> produce html-->
>       <map:match pattern="*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/skinconf.xml"/>
>           <map:part src="cocoon:/build-info"/>
>           <map:part src="cocoon:/tab-{0}"/>
>           <map:part src="cocoon:/menu-{0}"/>
>           <map:part src="cocoon:/body-{0}"/>
>         </map:aggregate>
>         
>         <map:call resource="skinit">
>           <map:parameter name="type" value="transform.site.xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>         
> <!--pipeline that "marries" the docs in all other dirs then root with
> the skin to produce html-->
>       <map:match pattern="**/*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/skinconf.xml"/>
>           <map:part src="cocoon:/build-info"/>
>           <map:part src="cocoon:/{1}/tab-{2}.html"/>
>           <map:part src="cocoon:/{1}/menu-{2}.html"/>
>           <map:part src="cocoon:/{1}/body-{2}.html"/>
>         </map:aggregate>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="transform.site.xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>
>       </map:match>
> 
> > -Yonik
> 
> salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message