How To Export and Import Nodes

asterix - July 19, 2006 - 20:33

I've always wanted a way to be able to export and import nodes from drupal and edit them locally for mass-content updating. That way if I wanted to replace or insert something in each node I could do it quickly. The import-export module seemed like a way to do this, but it doesn't have 4.7 support and I wasn't able to update it's code to the new form API.

I now have an approach that simply downloads the node_revisions table, allows you to modify it locally, and restore it with changes intact. This is a non-integrated method that is very simple, but only recommended for those that cannot wait for the Import / Export API to be completed (scheduled as a SOC (Summer of Code) project).

I've outlined the steps here:

Exporting and Importing Nodes

Cheers,
Alex
----------
Contract Web Development

 
 

Drupal is a registered trademark of Dries Buytaert.