eZ Content Export

Author Message

Das Briaj

Wednesday 02 December 2009 4:55:37 am

Hello all.. I would like to export the content of an eZ node into another application. This application could pass a node_id get/post parameter to one php script that display the embeded eZ object.
Do you know how can i get the html object content?

Thank you very much.

Sylvain Gogel

Saturday 05 December 2009 12:02:27 am

You can build a module that takes a nodeId as a ordered parameter and display the full view without layout.

Module $Result[] array have an optionnal key to specify layout.

Cheers

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

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 30 2025 00:44:51
Script start
Timing: Jan 30 2025 00:44:51
Module start 'layout'
Timing: Jan 30 2025 00:44:51
Module start 'content'
Timing: Jan 30 2025 00:44:51
Module end 'content'
Timing: Jan 30 2025 00:44:51
Script end

Main resources:

Total runtime0.0212 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.0156151.1953
Module start 'layout' 0.00810.0054 739.210936.6328
Module start 'content' 0.01350.0059 775.843890.1250
Module end 'content' 0.01940.0018 865.968829.9922
Script end 0.0211  895.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.004420.7075140.0003
Check MTime0.002813.0903140.0002
Mysql Total
Database connection0.00115.410110.0011
Mysqli_queries0.004219.594430.0014
Looping result0.00000.079910.0000
Template Total0.00125.910.0012
Template load0.00104.724710.0010
Template processing0.00021.137810.0002
Override
Cache load0.00073.147910.0007
General
dbfile0.00115.048880.0001
String conversion0.00000.050640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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