Share » Forums » Developer » How to get XML output for all the...

How to get XML output for all the contents

How to get XML output for all the contents

Thursday 13 March 2008 12:05:12 am - 4 replies

Author Message

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu