Export Views as XML

Events happening in the community are now at Drupal community events on www.drupal.org.
chandika@drupal.org's picture

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!!

Comments

Assuming you are working the

robeano's picture

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

Robin

DB Vs XML Backup and Restore Tool

janekeat's picture

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

Content migration, import, and export

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: