cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r712010 - in /cocoon/cocoon3/trunk: cocoon-docs/src/changes/changes.xml cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml
Date Thu, 06 Nov 2008 23:35:25 GMT
Author: reinhard
Date: Thu Nov  6 15:35:16 2008
New Revision: 712010

URL: http://svn.apache.org/viewvc?rev=712010&view=rev
Log:
add a HTML serializer

Modified:
    cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml

Modified: cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml?rev=712010&r1=712009&r2=712010&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-docs/src/changes/changes.xml Thu Nov  6 15:35:16 2008
@@ -25,6 +25,9 @@
 <document>
   <body>
     <release version="3.0.0-alpha-2" date="2008-00-00" description="unreleased">
+      <action dev="reinhard" type="add">
+        [cocoon-sitemap] Add a HTML serializer.
+      </action>
       <action dev="steven" type="add" issue="COCOON3-5" due-to="Simone Tripodi">
         [cocoon-optional] Add an HTML to XHTML converter based on NekoHtml.
       </action>

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml?rev=712010&r1=712009&r2=712010&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/resources/META-INF/cocoon/spring/cocoon-pipeline-component.xml
Thu Nov  6 15:35:16 2008
@@ -46,6 +46,17 @@
       </props>
     </property>
   </bean>  
+  
+  <bean name="serializer:html" class="org.apache.cocoon.pipeline.component.sax.XMLSerializer"
scope="prototype">
+    <property name="contentType" value="text/html;charset=utf-8" />
+    <property name="format">
+      <props>
+        <prop key="doctype-public">-//W3C//DTD HTML 4.01 Transitional//EN</prop>
+        <prop key="encoding">UTF-8</prop>
+        <prop key="method">html</prop>
+      </props>
+    </property>
+  </bean>  
 
   <bean name="generator:file" class="org.apache.cocoon.pipeline.component.sax.FileGenerator"
scope="prototype" />
 



Mime
View raw message