Screenshot

Screenshot

Download

Version: 1.5.1

data_import.zip 396.31 kB

Data Import

Extension : data_import
Requires : eZ Publish 4.x.x
Authors : Marius Eliassen (me[_at_]ez.no),
Philipp Kamps (pek[_at_].ez.no)

Summary :
The purpose of that extension is to import data from a given data source (like xml/csv documents) into the eZ Publish content tree. This extension is under the GPL.

Concepts :
We choose a object oririented approach. Developers need to implement a SourceHandler that understands the given data source. The handler is completely independent from the import operators. The import operators contain the logic how to create/update the content nodes in eZ Publish.

Import Process :
Each import process starts with an eZ command line script. It only gets an instance of a SourceHandler and an ImportOperator and then runs the ImportOperator.

Get started :
Here a quick description how to get started with that extension - so you can decide if it usefull to you.
- install a vanilla eZ Publish 4.0.0 or higher
- during the install select the ezwebin package
- install this extension
- run 2 example imports

prompt> php extension/data_import/scripts/run.php -i ImportOperator -d XMLFolders
prompt> php extension/data_import/scripts/run.php -i ImportOperator -d XMLImages

alternatively

prompt> php extension/data_import/scripts/run.php -i ImportOperator -d CSVFolders
prompt> php extension/data_import/scripts/run.php -i ImportOperator -d CSVImages

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2011 eZ Systems AS (except where otherwise noted). All rights reserved.