[ 
http://issues.apache.org/jira/browse/FOR-546?page=comments#action_12313969 ] 

Ross Gardler commented on FOR-546:
----------------------------------

If you want to output PDF documents then just add the PDF plugin to your 
forrest.properties and request the PDF document as normal. There is no need to 
add anything to your sitemap.

The document you reference is intended to help people understand how the 
forrest sitemaps work so that they can learn how to extend them.

However, with the creation of plugins this document is largely outdated. It 
should be updated to reflect the use of, and creation of, plugins.

> fo2pdf serializer should be added to example
> --------------------------------------------
>
>          Key: FOR-546
>          URL: http://issues.apache.org/jira/browse/FOR-546
>      Project: Forrest
>         Type: Improvement
>   Components: Documentation and website
>     Versions: 0.7-dev
>     Reporter: Ron Blaschke
>     Priority: Trivial

>
> The example at http://forrest.apache.org/0.7/docs/sitemap-ref.html#pdf uses a 
> fo2pdf serializer.  This probaly worked in versions < 0.7, because the PDF 
> output feature was in the core, and the serializer was very likely declared 
> there.
> With version 0.7, PDF output is moved to a plugin, the fo2pdf serializer 
> seems to be no longer there.  The serializer should probably be added to the 
> example, for completeness.
>   <map:components>
>     <map:serializers>
>       <map:serializer name="fo2pdf"
>                       src="org.apache.cocoon.serialization.FOPSerializer"
>                       mime-type="application/pdf"/>
>     </map:serializers>
>   </map:components>
> I found out about this because my sitemap uses the fo2pdf too (docbook to 
> PDF), and had to add the serializer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to