DTD / schema for content package

Author Message

Gabriel Ambuehl

Tuesday 26 July 2005 5:21:08 am

I'm trying to write some import module but after some moments I paused and figured that everything I need is already in place. Obviously, the content package facility can already deal with most if not all data types perfectly.

If only there were any docs on it, preferably with a DTD and some comments on how to use it...

Visit http://triligon.org

zurgutt -

Tuesday 26 July 2005 5:28:28 am

I concur. I have made a universal xml input extension to import a node tree from any other system with their attributes, to transfer whole sites to ez. I used the functions at http://ez.no/products/ez_publish_cms/documentation/development/importing_attribute_data
to actually insert data, however documented xml interface would be much better and it actually has to exist cause packages use it. We would need api docs and documented dtd for each datatype.

Certified eZ developer looking for projects.
zurgutt at gg.ee

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 20 2025 11:01:26
Script start
Timing: Jan 20 2025 11:01:26
Module start 'layout'
Timing: Jan 20 2025 11:01:26
Module start 'content'
Timing: Jan 20 2025 11:01:28
Module end 'content'
Timing: Jan 20 2025 11:01:28
Script end

Main resources:

Total runtime1.5053 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1563152.6250
Module start 'layout' 0.00600.0049 741.781339.4453
Module start 'content' 0.01101.4929 781.2266520.9609
Module end 'content' 1.50390.0013 1,302.18758.1563
Script end 1.5052  1,310.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2321160.0002
Check MTime0.00130.0868160.0001
Mysql Total
Database connection0.00070.046210.0007
Mysqli_queries1.456296.7377540.0270
Looping result0.00060.0395520.0000
Template Total1.466997.520.7335
Template load0.00210.138820.0010
Template processing1.464897.312520.7324
Template load and register function0.00020.015910.0002
states
state_id_array0.00100.067010.0010
state_identifier_array0.00120.078020.0006
Override
Cache load0.00170.110990.0002
Sytem overhead
Fetch class attribute can translate value0.00090.057020.0004
Fetch class attribute name0.00120.081930.0004
XML
Image XML parsing0.00520.342820.0026
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00510.3385170.0003
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs