Want to Export content of certain node-types as XML

acrymble - October 30, 2009 - 15:10

Hi,

I've got a custom node type "biography" that contains information about my site members. I'm trying to set up a system whereby someone can export the contents of those biography nodes as XML where each field in my node type is tagged using the computer readable name of that field.

For example:

<firstname>John</firstname>
<lastname>doe</lastname>
<age>41</age>
<occupation>Elevator Mechanic</occupation>

I've got very little PHP and XML experience, but I'm willing to learn. What I'm hoping for are some suggestions of modules and or concepts I should be looking into. Suggested reading is also appreciated.

thank you kindly,

Adam

I'm looking for similar

bnobleman - October 30, 2009 - 16:21

I'm looking for similar stuff.

I have checked so far:
- Use SimpleXML to build the xml an use asXML method to display it
- Views XML module and add allfields
- use Services module
None of them seems to be neat enough.

Bernard
www.nobleprog.co.uk/drupal/training
www.nobleprog.com/drupal/training-courses

 
 

Drupal is a registered trademark of Dries Buytaert.