Node Export

danielb - May 14, 2008 - 04:42

The export module allows users to export an existing node and then import it into another Drupal installation. The idea is similar to the way you export/import Views or Content Types. The module itself was originally based on Node Clone and therefore is similar in configuration and limitations - with the exception that you can create the clone on another website (assuming relevant compatibility with content types and fields).

An example of how you might use this module: Say you have created a node of type Webform with the following fields: "First Name" "Surname" "Email" "Comment" on one website. You come to building a new website with a similar Webform, but the fields are: "First Name" "Surname" "Email" "Phone" "Fax". We could either create the form from scratch, or we could export/import the original form, remove the "Comment" field and add the "Phone" and "Fax" fields.

Using this module you can save yourself a lot of time setting up new websites that have similar nodes to websites you've already made.

Bulk Export/Import

Node Export now supports bulk node operations from the admin/content/node page or using Views Bulk Operations. For a more advanced approach to bulk import/export of nodes use the Views Bonus module to export a CSV of nodes in a View and then import the CSV with Node Import.

Migrating Nodes Between Drupal Versions

Ensure both modules are the latest release for the same major version for each drupal version, i.e. 5.x-1.x and 6.x-1.x are compatible.

Images and Files

Files and images in a node do not get exported, however the Drupal 6 version comes with a module from James Andres to assist with exporting CCK filefields.

References, Relationships, Structures, Hierarchies, etc...

Since the bulk export feature has been added, a lot of people have assumed this module will allow you to export the structure of a whole site and keep things like menu links, authors, node references, book hierarchy, etc.. BUT NO IT DOESN'T. The reason is that the ID values that are used to identify the connections between things like that get changed around during an import. There are hooks that allow manipulation of nodes during imports/exports that could allow a programmer to add support for these features by tracking additional data to be able to fix the nodes afterwards, but nobody has gone to the trouble of doing that yet.

Drush support

The Drupal 6 dev release has Drush support.

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.19 Download (20.96 KB) 2010-Feb-03 Notes
5.x-2.3 Download (10.7 KB) 2010-Feb-03 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev Download (21.74 KB) 2010-Feb-08 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.