Importing data from a CSV file

Author Message

lorenzo messori

Tuesday 17 May 2005 3:48:26 am

Hi all,
I need to import product's data from a CSV file.
I found some info at the link posted after:

http://ez.no/ez_publish/documentation/ez_publish_3_4/content_object_import_and_export

But it isn't useful for me, because i'm a newbie...
I'm looking for some articles that teach me the steps needed to import data from a CSV file.

Anyone may help me?

Regards

Tuesday 17 May 2005 5:16:38 am

Hi,

Maybe this thread helps:
http://www.ez.no/community/forum/developer/importing_update_entry_if_it_already_exists

lorenzo messori

Tuesday 17 May 2005 5:33:27 am

Thx Hans,
but this script is structured to running in CLI mode... instead i have to run it in CGI mode, because i have no access to the shell... :(

Other suggestion?

Regards,
Lorenzo

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 18 2025 22:23:08
Script start
Timing: Jan 18 2025 22:23:08
Module start 'layout'
Timing: Jan 18 2025 22:23:08
Module start 'content'
Timing: Jan 18 2025 22:23:09
Module end 'content'
Timing: Jan 18 2025 22:23:09
Script end

Main resources:

Total runtime0.8034 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.9219152.6250
Module start 'layout' 0.00790.0059 740.546939.4453
Module start 'content' 0.01380.7885 779.9922503.1953
Module end 'content' 0.80230.0012 1,283.18758.4766
Script end 0.8034  1,291.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4677160.0002
Check MTime0.00160.1937160.0001
Mysql Total
Database connection0.00120.143310.0012
Mysqli_queries0.742892.4489570.0130
Looping result0.00050.0668550.0000
Template Total0.760094.620.3800
Template load0.00280.350920.0014
Template processing0.757294.241420.3786
Template load and register function0.00020.020210.0002
states
state_id_array0.00140.172610.0014
state_identifier_array0.00200.249820.0010
Override
Cache load0.00230.2855220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.068420.0003
Fetch class attribute name0.00100.129740.0003
XML
Image XML parsing0.00070.089520.0004
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00080.0971160.0000
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs