wiki:CycloneInstallation

Cyclone3 ODF Validator installation

The Cyclone3 ODF Validator is a standalone validator that can be integrated into Officeshots. As opposed to the ODFToolkit Validator and Office-o-tron, it needs to be installed locally.

Requirements

  • Perl
  • Perl Sablotron (libxml-perl, libxml-libxml-perl, libxml-sablot-perl)
  • Perl Zip (libarchive-zip-perl)
  • Perl Inline (libinline-perl)
  • Perl Tempfile (libfile-temp-perl)

Installation

I will be installing the validator into /opt/ODFValidator. Create this directory and checkout a copy of the validator from the upstream Subversion repository.

# mkdir /opt/ODFValidator
# cd /opt/ODFValidator
# svn co http://svn.cyclone3.org/branches/ODFValidator .

The validator uses the Perl Inline package. Create the _Inline directory and make sure that the user that the Officeshots background worker runs as (usually www-data) can write to it.

# mkdir _Inline
# chown www-data:www-data _Inline

Configuration

Set the path to validate.pl in www/app/config/core.php

Configure::write('Validator.Cyclone', '/opt/ODFValidator/validate.pl');

Last modified 9 years ago Last modified on 05/25/10 12:04:17