projects / org / se7enxweb / hwezimport
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
hwezimport | 7x | stable |
Version | Compatible with |
---|---|
N/A | N/A |
HwImport is a generic handler-based import framework for eZPublish (tested on 4.3.0).
Drop extension/hwimport to your extension directory and bin/php/hwimport.php to your bin/php directory. Then activate the extension for your site. E.g. in settings/override/site.ini.append.php:
ActiveExtensions[]=hwimport
php bin/php/hwimport.php --handler=MyCustomHandler --data=/tmp/importdata.xlsx --parentnode=1234 --userid=15 --limit=15
Options:
--handler=VALUE Handler identifier
--data=VALUE Data file
--parentnode=VALUE Parent node ID
--userid=VALUE ID of importing user
Optional options:
--offset=VALUE Offset from the starting row
--limit=VALUE Limit number of imported records
Handlers are responsible for parsing the input data and mapping the data to an eZPublish content object. See the examples directory for an extension containing a sample handler which imports data from an Excel 2007 file.
Basic workflow is the following: