projects / org / ezproject2010 / data_import
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
data_import | Philipp Kamps | stable |
Version | Compatible with |
---|---|
1.5.1 | 4.0.0 or higher |
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