You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/08/13 23:23:37 UTC

svn commit: r685681 - in /cocoon/whiteboard/corona/trunk/corona-docs: pom.xml src/docbkx/index.xml src/docbkx/resources/xsl/fopdf.xsl src/site/apt/building.apt src/site/apt/features.apt src/site/site.xml

Author: reinhard
Date: Wed Aug 13 14:23:36 2008
New Revision: 685681

URL: http://svn.apache.org/viewvc?rev=685681&view=rev
Log:
. prepare <distribution>
. add content to features.apt
. update copyright year
. give credit to Spring

Modified:
    cocoon/whiteboard/corona/trunk/corona-docs/pom.xml
    cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/index.xml
    cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/resources/xsl/fopdf.xsl
    cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/building.apt
    cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/features.apt
    cocoon/whiteboard/corona/trunk/corona-docs/src/site/site.xml

Modified: cocoon/whiteboard/corona/trunk/corona-docs/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/pom.xml?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/pom.xml (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/pom.xml Wed Aug 13 14:23:36 2008
@@ -37,11 +37,19 @@
   <name>Cocoon 3: Documentation</name>
   <description>Cocoon 3 - Reference guide and user manuals.</description>
 
+  <distributionManagement>
+    <site>
+      <id>website</id>
+      <url>${docs.deploymentBaseUrl}/3.0/</url>
+    </site>
+  </distributionManagement>
+
   <properties>
     <docs.name>Cocoon 3</docs.name>
     <docs.urlRelativizer>../</docs.urlRelativizer>
     <docs.mode>online</docs.mode>
     <docs.breadcrumb>cocoon3</docs.breadcrumb>
+    <docs.deploymentBaseUrl>file://${basedir}/../../../site/site</docs.deploymentBaseUrl>
   </properties>
 
   <pluginRepositories>

Modified: cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/index.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/index.xml?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/index.xml (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/index.xml Wed Aug 13 14:23:36 2008
@@ -28,7 +28,7 @@
       <author>
         <firstname>Reinhard</firstname>
         <surname>Pötz</surname>
-        <affiliation>{Indoqa} Software Design und Beratung GmbH</affiliation>        
+        <affiliation>Indoqa Software Design und Beratung GmbH</affiliation>        
       </author>
     </authorgroup>
 

Modified: cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/resources/xsl/fopdf.xsl
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/resources/xsl/fopdf.xsl?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/resources/xsl/fopdf.xsl (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/src/docbkx/resources/xsl/fopdf.xsl Wed Aug 13 14:23:36 2008
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- 
 
-    This is the XSL FO (PDF) stylesheet for the Spring DM reference
+    This is the XSL FO (PDF) stylesheet for the Cocoon 3 reference
     documentation.
     
     Thanks are due to Christian Bauer of the Hibernate project
-    team for writing the original stylesheet upon which this one
-    is based.
+    team and the Spring team for writing the original stylesheet 
+    upon which this one is based.
 -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
@@ -66,7 +66,7 @@
                                 </xsl:for-each>
                             </fo:block>
                             <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
-                <xsl:text>Copyright &#xA9; 2006-2008</xsl:text>
+                <xsl:text>Copyright &#xA9; 2008</xsl:text>
               </fo:block>
 
                             <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">

Modified: cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/building.apt
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/building.apt?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/building.apt (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/building.apt Wed Aug 13 14:23:36 2008
@@ -7,3 +7,5 @@
 
 Building Cocoon 3
 
+    The {{{http://svn.eu.apache.org/repos/asf/cocoon/whiteboard/corona/trunk/README.txt} README.txt}} in SVN contains 
+detailed instructions how Cocoon 3 can be built, developed and how the samples can be run.
\ No newline at end of file

Modified: cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/features.apt
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/features.apt?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/features.apt (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/src/site/apt/features.apt Wed Aug 13 14:23:36 2008
@@ -41,13 +41,40 @@
     
     * FileReader
     
-Cocoon Sitemap
+    []
+    
+    Here is an example:
+    
++------------------------------------------+
+Pipeline pipeline = new NonCachingPipeline();
+pipeline.addComponent(new StringGenerator("<x></x>"));
+pipeline.addComponent(new XSLTTransformer(PipelineTest.class.getClassLoader().getResource("test.xslt")));
+pipeline.addComponent(new XMLSerializer());
 
-    TBW
+ByteArrayOutputStream baos = new ByteArrayOutputStream();
+pipeline.setup(null, baos);
+pipeline.execute();
++------------------------------------------+    
     
-Cocoon Servlet
+Cocoon Sitemap
 
-    TBW
+    A sitemap connects a request (not necessarily a servlet request) with a pipeline. Here is an example:
 
++------------------------------------------+  
+<?xml version="1.0" encoding="UTF-8"?>
+<map:sitemap xmlns:map="http://apache.org/cocoon/corona/sitemap"
+  xmlns:servlet="http://apache.org/cocoon/corona/servlet">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="videos/{id}">
+        <map:generate src="video/{map:id}.xml" type="file" />
+        <map:serialize type="xml" />
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>
++------------------------------------------+
     
-    
+Cocoon Servlet
+
+    This module provides a servlet that connects an HTTP request with a sitemap. 

Modified: cocoon/whiteboard/corona/trunk/corona-docs/src/site/site.xml
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-docs/src/site/site.xml?rev=685681&r1=685680&r2=685681&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-docs/src/site/site.xml (original)
+++ cocoon/whiteboard/corona/trunk/corona-docs/src/site/site.xml Wed Aug 13 14:23:36 2008
@@ -25,23 +25,22 @@
     <version>1.0.0-SNAPSHOT</version>
   </skin>
 
-  <body>  
+  <body>
     <menu name="Documentation">
-      <item name="Index" href="index.html"/>
-      <item name="Changelog" href="changes-report.html"/>
-      <item name="Roadmap" href="roadmap.html"/>
-      <item name="Userguide" href="reference/index.html"/>
-      <item name="Features" href="features.html"/>
+      <item name="Index" href="index.html" />
+      <item name="Changelog" href="changes-report.html" />
+      <item name="Roadmap" href="roadmap.html" />
+      <item name="Userguide" href="reference/index.html" />
+      <item name="Features" href="features.html" />
     </menu>
     <menu name="Project">
-      <item name="License" href="license.html"/>
-      <item name="Team list" href="team-list.html"/>
-      <item name="Mailing lists" href="mailing-lists.html"/>
-      <item name="Source Repository" href="source-repository.html"/>
-      <item name="Building" href="building.html"/>
-      <item name="API" href="api-docs.html"/>
-      <item name="Issue Tracking" href="https://issues.apache.org/jira/browse/COCOON"/>
-      <item name="Download" href="download.html"/>
+      <item name="License" href="license.html" />
+      <item name="Team list" href="team-list.html" />
+      <item name="Mailing lists" href="mailing-lists.html" />
+      <item name="Building" href="building.html" />
+      <item name="API" href="api-docs.html" />
+      <item name="Issue Tracking" href="https://issues.apache.org/jira/browse/COCOON" />
+      <item name="Download" href="download.html" />
     </menu>
   </body>
 </project>