Batch import?

Author Message

Robert Jarvis

Friday 22 August 2008 12:40:21 am

Is there a way to batch import large numbers of files, such as XML files?

For example, we have all our files on a regular server and would like them in the CMS. Uploading one by is not practical.

Pascal Specht

Friday 22 August 2008 1:11:00 am

Hi Robert,

there are extensions that can help you getting started with batch import, I'm thinking of these two in particular:

http://ez.no/developer/contribs/import_export/data_import
http://ez.no/developer/contribs/import_export/xmlimport

the second one is easier to use than the first one, in my opinion.

</Pascal>

Robert Jarvis

Friday 22 August 2008 2:51:26 am

Many thanks Pascal, I'll check them out.

Rob.

Andrew White

Friday 05 September 2008 4:06:45 am

Pascal, does xmlimport work with v4.0?

Thanks,
Andrew

Pascal Specht

Friday 05 September 2008 4:52:04 am

Hi Andrew,

unfortunately, I can't tell, as I haven't tried this on 4.x: our sites are all at 3.9.x.
I'm using the http://ez.no/developer/contribs/import_export/xmlimport one. As it is not much complicated to install or uninstall, I would suggest you give it a try or look at its dedicated forum thread to dig further.

</Pascal>

Andrew White

Monday 08 September 2008 4:45:51 am

Thanks, Pascal! Unfortunately it doesn't seem to work, and is failing without telling me why. Guess I'll have to look for another option.

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

eZ debug

Timing: Jan 31 2025 00:29:23
Script start
Timing: Jan 31 2025 00:29:23
Module start 'layout'
Timing: Jan 31 2025 00:29:23
Module start 'content'
Timing: Jan 31 2025 00:29:23
Module end 'content'
Timing: Jan 31 2025 00:29:23
Script end

Main resources:

Total runtime0.0234 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0000151.1953
Module start 'layout' 0.00590.0036 739.1953220.6406
Module start 'content' 0.00940.0126 959.83591,001.7266
Module end 'content' 0.02210.0013 1,961.562533.9922
Script end 0.0234  1,995.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.7696140.0002
Check MTime0.00114.6373140.0001
Mysql Total
Database connection0.00083.306810.0008
Mysqli_queries0.003113.259030.0010
Looping result0.00000.042810.0000
Template Total0.00104.210.0010
Template load0.00083.499410.0008
Template processing0.00020.662210.0002
Override
Cache load0.00062.585610.0006
General
dbfile0.00145.896580.0002
String conversion0.00000.027540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs