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.

Requirements and Installation

System Requirements

Installation

  1.  Download the extension here.
  2.  Extract the eZ XML Export package in the "extension" folder of your eZ Publish installation directory.
  3.  Enable the extension by adding "ActiveExtensions[]=ezxmlexport" to the block [ExtensionSettings] in your (...)/settings/override/site.ini.append.php file, like this:
    [ExtensionSettings]
    (...)
    ActiveExtensions[]=ezxmlexport
    (...)
    
  4.  This extension uses special tables so you must create a SQL schema. You need to apply the SQL script delivered with this extension in order to get the extension working. Run the following command:
    mysql -u[user] -p[password] -h[host]  [database_name] < extension/ezxmlexport/sql/mysql/schema.sql
    
    Replace "user", "password", "host" and "database_name" with the user, password, host name and database name used by your installation.
  5. Next regenerate autoloads. This can be done in the Administration Interface. From the Setup tab, click on the Extensions link in the menu on the left. In the list displayed check the "ezxml" extension and press the "Regenerate autoload arrays for extensions" button.

    Autoloads can also be regenerated from the command line. The way to do this depends on the system used. An example of such a command when using Linux is:

    $php bin/php/ezpgenerateautoloads.php -e
    

    "$php" should be replaced by the path to your php executable.

  6.  Finally, clear the cache from the administrator interface. In the Setup tab, click on the Cache Management link in the menu on the right.
  7.  In order to use this extension you have to create a customer and an export. All forms are located at the following address:
    http://<SITE>/<ADMIN_SITEACCESS>/xmlexport/menu
    
    Change <SITE> and <ADMIN_SITEACCESS> with the your proper site address and site access name.
     You can also do this from the eZ Publish administrator interface. To do this, go to the Setup tab and select XML export from the left menu. For more information visit the chapter Exporting content class definition as XML Schema.
  8.  This extension is shipped with only one cronjob. You are free to define the schedule that best fits your needs. Run this cronjob with the following command:
    $php runcronjobs.php ezxmlexport
    
    "$php" should be replaced by the path to your php executable.

Ester Heylen (14/04/2010 1:23 pm)

Geir Arne Waaler (22/10/2010 12:08 pm)

Ester Heylen, Geir Arne Waaler


Comments

There are no comments.