Forums / General / import via conversion csv=>package

import via conversion csv=>package

Author Message

Andrei Barhatov

Tuesday 01 February 2005 7:56:06 pm

I want to export my excel data to ez and I'm about creation of utlity for converting csv file to ez package. Some small questions:

1) is it correct way on the whole?

2) are all xml elements in objects' definition necessary? e.g. in exported package objects are defined in such complicated manner:

<object... ezremote:section_id="5" ezremote:owner_id="14" ezremote:class_id="25" ezremote:published="Tue, 01 Feb 2005 07:51:28 GMT" ezremote:modified="Tue, 01 Feb 2005 08:03:07 GMT" remote_id="af6f3dfe6fc092e12e8a3d0f45da2c9d" class_remote_id="f0c83bf5cdca61f885e89e180f741c71" ezremote:class_identifier="edu_institution">...

I'm going to substitute it by:

<object xmlns:ezremote="http://ez.no/ezobject" ezremote:class_id="$CLASS_ID" ezremote:class_identifier="$CLASS_IDENTIFIER">

Is it correct? Experimentally it will be verified later, but maybe anybody can suggest something about it right now?

Andrei Barhatov

Wednesday 02 February 2005 9:07:21 pm

1) seems work %]
2) some fields are really essential, but some are not

Later maybe I post my code to "contributions" section. The prog is coded in Perl, tested on Windows, seems work...

gabriele francescotto

Wednesday 13 July 2005 2:02:43 am

Hi Andrei, what you implemented sounds really interesting, it would be useful for some tests I'm doing in this period, exporting and importing data between an excel file and ez publish.
I would be happy to test your application too, if you will post it.

www.opencontent.it
via Verdi 19, 38100 Trento

Fraser Hore

Tuesday 01 November 2005 1:59:39 am

This utility would be really useful! Could you please provide an update on the status and post it to the contributions section?

Cheers,

Fraser

Jorge estévez

Wednesday 24 September 2008 4:48:35 am

Hello!

Is it already at the contributions section?

I need a link

Thanks,

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

eZ debug

Timing: Jan 18 2025 10:34:58
Script start
Timing: Jan 18 2025 10:34:58
Module start 'content'
Timing: Jan 18 2025 10:34:58
Module end 'content'
Timing: Jan 18 2025 10:34:58
Script end

Main resources:

Total runtime0.1383 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.7109180.8359
Module start 'content' 0.00700.0062 768.546997.8516
Module end 'content' 0.01320.1250 866.3984526.7969
Script end 0.1383  1,393.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.8411200.0002
Check MTime0.00171.2152200.0001
Mysql Total
Database connection0.00100.722810.0010
Mysqli_queries0.093267.40311410.0007
Looping result0.00110.76381390.0000
Template Total0.124690.110.1246
Template load0.00090.669410.0009
Template processing0.123789.397610.1237
Override
Cache load0.00060.459010.0006
Sytem overhead
Fetch class attribute can translate value0.00080.545110.0008
XML
Image XML parsing0.00020.156810.0002
General
dbfile0.00271.9580200.0001
String conversion0.00000.003830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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