Importing content nodes to ez Publish

Author Message

Ville Mattila

Thursday 22 February 2007 1:46:33 pm

Hi there,

Where could I find some information about how to import content to ez Publish from another system? I suppose I need to build a customed PHP application to do the import - that's not a problem.

I have a database containing address information which I'd like to import to ez Publish as nodes of customed "address card" content class. In addition to the address cards, I'd like to import also the groups we have collected the address cards as Folders to ez Publish where the cards could be then located. I suppose this does not differ from importing any node?

How about performance of ez Publish. Is it good idea to import 200-300 address cards as content nodes to the system instead of making a custom module to access the database?

Anyway - the main question: how to import content nodes from external application or system?

Betsy Gamrat

Saturday 24 February 2007 8:17:34 am

I would start here.

http://ez.no/community/forum/developer/importing_data/re_importing_data

Also - the Packt book has some code that is useful. It is available for sale through this site.

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:39:11
Script start
Timing: Jan 31 2025 00:39:11
Module start 'layout'
Timing: Jan 31 2025 00:39:11
Module start 'content'
Timing: Jan 31 2025 00:39:11
Module end 'content'
Timing: Jan 31 2025 00:39:11
Script end

Main resources:

Total runtime0.0246 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1484151.2109
Module start 'layout' 0.00500.0037 739.3594220.6875
Module start 'content' 0.00870.0142 960.0469997.6797
Module end 'content' 0.02280.0017 1,957.726629.9922
Script end 0.0245  1,987.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.3472140.0002
Check MTime0.00114.4603140.0001
Mysql Total
Database connection0.00083.174410.0008
Mysqli_queries0.00218.706230.0007
Looping result0.00000.048510.0000
Template Total0.00135.310.0013
Template load0.00104.049810.0010
Template processing0.00031.213110.0003
Override
Cache load0.00052.230210.0005
General
dbfile0.00031.119080.0000
String conversion0.00000.029140.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