how would i output basic XML from cck node type
mediashock - September 12, 2007 - 20:51
Lets say i have a cck content type called "images"
and each image content type has category, image1, image2, image3, etc, colour, link
and i would like to output this info into basic xml
<images>
<image1>files/imageadsfasd.jpg</image1>
<image2>files/asdfsd.jpg</image2>
<colour>green</colour>
<link>google.com</link>
</images>
<images>
<image1>files/imageadsfasd.jpg</image1>
<image2>files/asdfsd.jpg</image2>
<colour>Blue</colour>
<link>yahoo.com</link>
</images>i just want that outputed without anything else
i tried using the printer friendly pages and i couldn't get it to work. like the node->body displays everything .. like files/ssdfad.jpg blue yahoo.com all as one tag.. i also tried to adjust the RSS view but that got hard and i gave up..
anyone has a solid idea and exmple maybe? plzzzzzz. it would be really cool to have it as a XML view and then pick the fields and it would export them in this format instead of RSS feed format.
