The export to a Drupal interface allows to export complete custom Drupal nodes, as creation/update/delete.
Prerequisite for Drupal:
Install Services module: http://drupal.org/project/services
The ExportToDrupal function now accepts a custom xml which defines drupal node fields to be filled during creation/update, example: <drupal> <type>article</type> <title>This is my title</title> <body>This is my body</body> <custom_field>Value</custom_field> <complex_field> <Array> <field1>1</field1> <field2>2</field2> ... </Array> </complex_field> </drupal> The fuction will output the node id created in Drupal, which can be used to update the same node specifying the id in the xml: <drupal> <nid>123456</nid> <type>article</type> <title>This is my title</title> <body>This is my body</body> <custom_field>Value</custom_field> <complex_field> <Array> <field1>1</field1> <field2>2</field2> ... </Array> </complex_field> </drupal>
|
You can delete a node from Drupal, using DeleteFromDrupal command that accepts the node id to be deleted as parameter. |