Share your experience on eZ Publish : write a tutorial ! See how easy this can be done here:
With the new stable version 2009.2 of the eZ Components, the Document component get support for the OpenDocument format. You can convert OpenDocumentText (ODT) to the internally used Docbook XML and from there to any of the other formats supported by the component (like RST, Wiki markup or ezxml). The other way around works in addition, read any format supported by Document and convert it to ODT. You can nicely style the generated document using a CSS sub-set and even generate a PDF with the very same style settings.
I wrote up a tutorial this new feature of the Document component on my blog, where you can also download example source code and examine the results of conversions.
Timing: | Jan 17 2025 21:01:37 |
Script start | |
Timing: | Jan 17 2025 21:01:37 |
Module start 'layout' | |
Timing: | Jan 17 2025 21:01:37 |
Module start 'content' | |
Timing: | Jan 17 2025 21:01:37 |
Module end 'content' | |
Timing: | Jan 17 2025 21:01:37 |
Script end |
Total runtime | 0.0629 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 42 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0041 | 595.9922 | 152.0938 |
Module start 'layout' | 0.0041 | 0.0016 | 748.0859 | 39.4063 |
Module start 'content' | 0.0057 | 0.0556 | 787.4922 | 496.6406 |
Module end 'content' | 0.0613 | 0.0016 | 1,284.1328 | 9.5703 |
Script end | 0.0629 | 1,293.7031 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0024 | 3.8831 | 15 | 0.0002 |
Check MTime | 0.0010 | 1.5848 | 15 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0007 | 1.0902 | 1 | 0.0007 |
Mysqli_queries | 0.0279 | 44.4232 | 42 | 0.0007 |
Looping result | 0.0003 | 0.4119 | 40 | 0.0000 |
Template Total | 0.0437 | 69.4 | 2 | 0.0218 |
Template load | 0.0017 | 2.6720 | 2 | 0.0008 |
Template processing | 0.0420 | 66.7034 | 2 | 0.0210 |
Template load and register function | 0.0001 | 0.1432 | 1 | 0.0001 |
states | ||||
state_id_array | 0.0012 | 1.8421 | 2 | 0.0006 |
state_identifier_array | 0.0008 | 1.2346 | 3 | 0.0003 |
Override | ||||
Cache load | 0.0013 | 2.1354 | 18 | 0.0001 |
Sytem overhead | ||||
Fetch class attribute name | 0.0024 | 3.7887 | 4 | 0.0006 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0129 | 4 | 0.0000 |
General | ||||
dbfile | 0.0006 | 0.9216 | 10 | 0.0001 |
String conversion | 0.0000 | 0.0318 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | node/view/full.tpl | full/folder.tpl | extension/sevenx/design/simple/override/templates/full/folder.tpl | ||
1 | content/datatype/view/ezstring.tpl | <No override> | design/standard/templates/content/datatype/view/ezstring.tpl | ||
3 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
2 | content/datatype/view/ezxmltags/header.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/header.tpl | ||
5 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
3 | content/datatype/view/ezxmltags/link.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/link.tpl | ||
1 | content/datatype/view/ezxmltags/separator.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 17 Number of unique templates used: 8 |
Time used to render debug report: 0.0001 secs