Forums / Developer / How to get XML output for all the contents

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to get XML output for all the contents

Author Message

Satheesh R

Thursday 13 March 2008 12:05:12 am

Hello All,

Kindly give some guidance to achieve the followings,

1. I'm using eZ4.0, i want to know how to get all the eZ contents (Which are posted/uploaded in ADMIN side including Images and all type of files) in a XML format(XML output).
2. The thing is i have to pass those information to FLASH (is it achievable ..?).

kindly guide me
Thanks in advance

Regards
Shr

Thanks and Regards
R Satheesh

Bruce Morrison

Thursday 13 March 2008 12:34:47 am

Hi Satheesh

Basically you want to :
# create a layout for the XML output (layout.ini)
# overwrite the "Content-Type" header for this layout so that the ouput is presented as XML (layout.ini)
# create templates to produce the desired output

I wrote about this here
http://suffandnonsense.blogspot.com/2007/05/easy-web-services-with-ez-publish.html While it doesn't cover what you are asking 100% is should give you enough to do what you want.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Satheesh R

Thursday 13 March 2008 1:40:05 am

Hi Bruce,
Thanks for the reply.

Yes i read your article already and i tried the followings

1. Added the following code in <b> layout.ini </b>

    	[xml]
	PageLayout=xml_pagelayout.tpl
	ContentType=text/xml
 

and i created a override file for pagelayout which is <b> xml_pagelayout.tpl </b> (i dunno wheather it is needed or not) which is loaded with sample xml tags

2. With the help of one earlier forum i have changed the article.tpl file in full XML format (Article - Full view for flash step)

But i dunno how to make it run successfully

Kindly explain a bit more about this point
# create templates to produce the desired output

Thanks and Regards
R Satheesh

Ekkehard Dörre

Thursday 13 March 2008 6:40:02 am

Hi,

look here:
http://projects.ez.no/ggxmlview

and here:
http://projects.ez.no/ggxmlview/forum/general/xml_design_extension#msg8456

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Satheesh R

Sunday 16 March 2008 9:21:50 pm

Hi Ekkehard Dörre,

Thanks for the reply, i'll try to implement it.

Thanks and Regards
R Satheesh