Export Views as XML

Just wondering if I would be able to export a result set of a view as XML using this API. Is this possible?

The other option would be to create and XML output based on a DB query as done in http://www.travistidwell.com/drupal_flash_interface.

Which way should I go? Are there other options beyond the above?

Thanks!!

Login to post comments

Assuming you are working the

robeano's picture
robeano - Sat, 2007-05-26 16:35

Assuming you are working the GUI part of Import/Export API, it exports data but not via a view. You can specify which fields are exported, but as far as I can tell there is no way to filter the exported data the way a view can. My interpretation of the Import/Export documentation makes me think it would be possible to do what you want by writing a module to interact directly with the API, but I haven't done that yet.

My experience is limited with the Import/Export API, so I could be missing some aspect of how it works.

I've heard that the flash folks are working on some import/export functionality. Look for a group here at g.d.o that focuses on flash (not sure which one).

Thanks,

Robin
www.rufdesigns.com


DB Vs XML Backup and Restore Tool

janekeat - Mon, 2008-11-03 13:06

Obsolutely you can get what you want at http://www.wbcsoftwarelab.com
as DB Vs XML Backup and Restore Tool is available with opensource.