Author Topic

André R.

Saturday 23 June 2007 2:44:07 pm

Comment24659

I have no intension's to solve the problem ( witch in practice means writing the whole extension ) for you..
But if you can specify what your struggling with, the forum is the right place :)

But I guess your asking how to generate xml from ez content?
If so there are many answears:
* use one of the xml output extensions
*write your own, where you fetch the content you need and generate xml off it

For the last one, some examples:
fetching examples: http://zev.ez.no/svn/extensions/ezjaxx/extension/ezjaxx/modules/jaxx/expand.php

    $node_array = eZContentObjectTreeNode::subTree(
        array( 'Depth' => 1,
               'Limit'            => $maxNodes,
               'Offset'           => 0,
               'SortBy'           => $sort_array,
               'DepthOperator'    => 'eq',
               'ClassFilterType'  => 'include',
               'ClassFilterArray' => $showClasses
               ), $nodeID );

ezxml example: http://zez.org/article/articleprint/76/
(but you can concat the xml manually as a string if you want)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom