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> <map:match pattern="tba/*">
+++ <pre> <map:match pattern="tba/*">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<map:generate src="{page}"/>
<map:transform src="docs/samples/tba/redirect.xsl"/>
<map:serialize type="html"/>
</map:act>
<!-- else ? -->
--- </map:match>
+++ </map:match>
</pre>
<p>Adding <map:act type="request"> and <map:parameter name="parameters"
(7 equal lines skipped)
<map:generate src="{request:page}"/>
<map:transform src="docs/samples/tba/redirect.xsl"/>
<map:serialize type="html"/>
--- </map:match>
+++ </map:match>
</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