Apache Forrest > Plugins
Plugin: Anakia output
 
Font size:      

Welcome to the org.apache.forrest.plugin.output.Anakia Plugin

Overview

Produce output in Apache Velocity Anakia "xdoc" format, for example localhost:8888/index.xdoc

One use of this plugin is to export a Forrest-based site to Anakia "xdoc".

Forrest can then be used as normal, to draw together source content in various formats, and export a set of consistent documents.

Howto

You need a link from each page to its .xdoc version. The easiest way to do that is with the new whiteboard Dispatcher functionality. Follow the "Quickstart" document. Edit your new structurer panels to add a new contract "content-anakia-link" following the existing "content-pdf-link". A contract is provided in the o.a.f.plugin.output.Anakia plugin at resources/themes/common/html/content-anakia-link.ft to copy to the same place in your project.

Don't forget to declare the o.a.f.plugin.output.Anakia plugin (and the usual Dispatcher plugins) in your project's forrest.properties file.