cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: MinimalSitemapConfiguration
Date Fri, 09 Jul 2004 17:28:07 GMT
   Date: 2004-07-09T10:28:07
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: MinimalSitemapConfiguration
   URL: http://wiki.apache.org/cocoon/MinimalSitemapConfiguration

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-Here is a minimal [:sitemap] example. In a UnderstandingCocoonMounts subdirectory, this is
sufficient for Cocoon to do its job, assuming the required [:Components] are defined in {{{<map:components>}}}
in a parent sitemap. 
+Here is a minimal [:Sitemap] example. In a UnderstandingCocoonMounts subdirectory, this is
sufficient for Cocoon to do its job, assuming the required [:Components] are defined in {{{<map:components>}}}
in a parent sitemap. 
 
 In other words, the parent [:Sitemap] must have declared a component that corresponds with
the indicated defaults.
 
@@ -6,34 +6,34 @@
 
 SitemapStructure has another basic reference.
 
-{{{
-<?xml version="1.0" encoding="iso-8859-1"?>
-<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
-    <!-- use the standard components -->
-    <map:components>
-        <map:generators default="file"/>
-        <map:transformers default="xslt"/>
-        <map:readers default="resource"/>
-        <map:serializers default="html"/>
-        <map:selectors default="browser"/>
-        <map:matchers default="wildcard"/>
-    </map:components>
-      
-    <!-- let cocoon know how to process requests -->
-    <map:pipelines>
-        <map:pipeline>
-            <!-- respond to *.html requests with 
-                 our docs processed by doc2html.xsl -->
-            <map:match pattern="*.html">
-                <map:generate src="{1}.xml"/>
-                <map:transform src="doc2html.xsl"/>
-                <map:serialize type="html"/>
-            </map:match>
-            
-        </map:pipeline>
-    </map:pipelines>
-</map:sitemap>
+{{{
+<?xml version="1.0" encoding="iso-8859-1"?>
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+    <!-- use the standard components -->
+    <map:components>
+        <map:generators default="file"/>
+        <map:transformers default="xslt"/>
+        <map:readers default="resource"/>
+        <map:serializers default="html"/>
+        <map:selectors default="browser"/>
+        <map:matchers default="wildcard"/>
+    </map:components>
+      
+    <!-- let cocoon know how to process requests -->
+    <map:pipelines>
+        <map:pipeline>
+            <!-- respond to *.html requests with 
+                 our docs processed by doc2html.xsl -->
+            <map:match pattern="*.html">
+                <map:generate src="{1}.xml"/>
+                <map:transform src="doc2html.xsl"/>
+                <map:serialize type="html"/>
+            </map:match>
+            
+        </map:pipeline>
+    </map:pipelines>
+</map:sitemap>
 }}}
 
 Once you've got the basics down perhaps you want to add sitemap entries to process other
types of request:

Mime
View raw message