Link Serializer
Link Serializer
The link serializer generates a list of links using XLink from the sax events. Most XHTML attributes are also supported (href, src, longdesc, background). The mime-type of the output is application/x-cocoon-links. This serializer is required by the link status generator and the command line mode to follow links.
- Name: links
- Class: org.apache.cocoon.serialization.LinkSerializer
- Cacheable: no
Usage
To use the link serializer for the command-line or the link status generator, you need the following entries in your sitemap:
<map:components> <map:serializers> <map:serializer logger="sitemap.serializer.links" name="links" src="org.apache.cocoon.serialization.LinkSerializer" /> </map:serializers> </map:components> <map:views> <map:view from-position="last" name="links"> <map:serialize type="links" /> </map:view> </map:views>
Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).