You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2005/09/22 15:34:40 UTC

[DAISY] Updated: Cocoon Sitemap Generator FAQs

A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/712.html

Document ID: 712
Branch: main
Language: default
Name: Cocoon Sitemap Generator FAQs (unchanged)
Document Type: Document (unchanged)
Updated on: 9/22/05 1:34:17 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 2263 bytes (previous version: 2314 bytes)
Content diff:
(12 equal lines skipped)
    elements.</p>
    
    <p>For conceptual information on generators see the user's guide document
--- <a href="../userdocs/concepts/sitemap.html">The Sitemap</a>. For detailed
--- descriptions about all of the available Cocoon generators, see the user's guide
--- document <a href="../userdocs/concepts/sitemap.html">Generators in Cocoon</a>.
--- You may also wish to consult the Cocoon API documentation.</p>
+++ <a href="daisy:580">The Sitemap</a>. For detailed descriptions about all of the
+++ available Cocoon generators, see the user's guide document
+++ <a href="daisy:542">Generators in Cocoon</a>. You may also wish to consult the
+++ Cocoon API documentation.</p>
    
    <h2>How can I write my own generator?</h2>
    
(9 equal lines skipped)
    
    <p>(1) RequestParamAction (2.0.x + 2.1)</p>
    
--- <pre>  &lt;map:match pattern="tba/*"&gt;
+++ <pre> &lt;map:match pattern="tba/*"&gt;
        &lt;map:act type="request"&gt;
    	  &lt;map:parameter name="parameters" value="true"/&gt;
    	  &lt;map:generate src="{page}"/&gt;
     	  &lt;map:transform src="docs/samples/tba/redirect.xsl"/&gt;
     	  &lt;map:serialize type="html"/&gt;
        &lt;/map:act&gt;
        &lt;!-- else ? --&gt;
---  &lt;/map:match&gt; 
+++  &lt;/map:match&gt;
    </pre>
    
    <p>Adding &lt;map:act type="request"&gt; and &lt;map:parameter name="parameters"
(7 equal lines skipped)
     	&lt;map:generate src="{request:page}"/&gt;
     	&lt;map:transform src="docs/samples/tba/redirect.xsl"/&gt;
     	&lt;map:serialize type="html"/&gt;
---  &lt;/map:match&gt; 
+++  &lt;/map:match&gt;
    </pre>
    
    <p>In addition, you may want to use ResourceExistsAction to check whether the
(4 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes