Import to XML text

Author Message

Harry Oosterveen

Thursday 31 July 2003 1:37:04 am

As far as I could find out from the source code, text that you enter is converted to XML text using the eZSimplifiedXMLInput. However, this works only when text is entered via the forms in the admin backend, as text is read from the http post variables.

Has anybody created a class or function that can be used to convert (html formatted or plain) text to XML text?

Harry Oosterveen

Friday 01 August 2003 3:10:03 pm

See http://www.ez.no/developer/ez_publish_3/documentation/development/importing_attribute_data

Esben Maaløe

Sunday 03 August 2003 6:06:37 am

That looks awfully exciting

How do you go about telling eZPublish to convert from HTML ?

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 18:29:42
Script start
Timing: Jan 18 2025 18:29:42
Module start 'layout'
Timing: Jan 18 2025 18:29:42
Module start 'content'
Timing: Jan 18 2025 18:29:42
Module end 'content'
Timing: Jan 18 2025 18:29:42
Script end

Main resources:

Total runtime0.7728 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.0054 587.7969152.6094
Module start 'layout' 0.00540.0041 740.406339.4297
Module start 'content' 0.00950.7619 779.8359498.3516
Module end 'content' 0.77140.0014 1,278.18758.1875
Script end 0.7728  1,286.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4720160.0002
Check MTime0.00150.1886160.0001
Mysql Total
Database connection0.00070.094210.0007
Mysqli_queries0.726894.0413570.0128
Looping result0.00070.0886550.0000
Template Total0.736895.320.3684
Template load0.00280.365220.0014
Template processing0.733994.967320.3670
Template load and register function0.00010.014110.0001
states
state_id_array0.00090.117510.0009
state_identifier_array0.00100.126620.0005
Override
Cache load0.00240.3042120.0002
Sytem overhead
Fetch class attribute can translate value0.00050.064620.0002
Fetch class attribute name0.00160.204140.0004
XML
Image XML parsing0.00050.064620.0002
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00080.0973150.0001
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs