Share » Forums » General » adding application/xml type to xml...

adding application/xml type to xml generated with ez

adding application/xml type to xml generated with ez

Tuesday 19 April 2005 12:27:27 am - 1 reply

Author Message

Bård Farstad

Tuesday 26 April 2005 3:08:47 am

Rami, you need to write a module to do this. eZ publish sends these HTML headers by default and you need to override this manually. Currently there is no method of doing this via templates.

The module could simply fetch the node, display it with a template and return the XML and set headers. You can look at e.g. the OpenOffice.org extension, this has an export function which is very similar. Sets custom headers and generates XML.

--bård

Documentation: http://ez.no/doc

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

36 542 Users on board!

Forums menu