Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Content export

XSLT stylesheet management

Adding XSLT stylesheets is simple, the only thing you have to do is upload a new XSLT file in the design/standard/xsl/ folder of the extension. An empty “test.xsl” file is already available. Removing the XML source after the XSLT transformation must be defined explicitly in the XSLT stylesheet. The processed XML file will not be deleted otherwise.

Launching the export

Launching the export is quite easy, the only thing you have to do is to run the following cronjob:

php runcronjobs.php -s your_siteaccess ezxmlexport

Since the export has been designed to export more than 200 000 content objects and depending on how much objects you have to export, the time it takes to run the full export can be important. This is why we recommend you run this cronjob once a night because it generates a lot of heavy operations on the database.

Export process schema

Operation logger

The extension is bundled with an XML logging system. The XML file stores the list of exported objects as well as a few meta data. Here is an example:

<?xml version="1.0" encoding="UTF-8"?>
<export>
     <generalinformations>
          <startdate>timestamp</startdate>
          <enddate>timestamp</enddate>
          <appliedXSLTtransformation>XSLT command</appliedXSLTTransformation>
          <ftpinformations>ftp://user@host/path</ftpinformations>
     </generalinformations>
     <exportedobjects>
          <object id="objectID"
                            startexporttime="timestamp"
                            endexporttime="timestamp"
                            generatedxmlfile="path/to/xmlfile">
          </object>
            ...
     </exportedobjects>
</export>

 

Geir Arne Waaler (22/10/2010 7:53 am)

Geir Arne Waaler (22/10/2010 7:53 am)


Comments

There are no comments.