cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Daisy export plugin customization
Date Thu, 19 Apr 2007 07:27:11 GMT
Helma (and others),

I created a small module (tools/cocoon-daisy-export-strategy) that provides our
Cocoon specific customization strategies for the Daisy export plugin.

It contains a Java class that gets called for each extracted document. Using it
you get a chance to apply any transformation to the Daisy document you wish 
_before_ the Maven Site plugin that uses the skin kicks in. you can also apply 
different transformations based on the document type.

The current implementation applies an XSLT (see

and is responsible for

  - formatting of search results
  - handling of fixme/note/warning
  - providing the box on the right (homepage)
  - adding the "errors and improvements" box at the bottom of each page

Feel free to change whatever is required for the cocoon-thien skin. (don't 
forget to invoke 'mvn install' on the export-strategy module whenever you change 

In trunk/site/pom.xml you find all sites (/project/modules) that are exported 
and deployed correctly AFAICT. The sites of the blocks will follow soon.

When you want to test your skin, you don't have to invoke "mvn site" on 
trunk/site but you rather want to change to the module that you want to test, 
e.g. for the main site go to trunk/site/cocoon-main-site and run "mvn site" from 

For those of you you want to build the site locally, please have a look at

Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}


View raw message