Pour toutes questions sur nos formations Drupal, n'hésitez pas à nous contacter.
This module allows users to export nodes and then import it into another Drupal installation, or on the same site. The idea is similar to the way you export/import Views or Content Types.
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, migrating nodes to new Drupal versions, or between development/staging/production sites.
You will need the same content types for the imports to work, and ideally relevant compatibility with content fields, and related modules.
There are several ways to use Node export:
Nodes exported with Node export can be imported:
The 2.x branch uses a customised array to export/import nodes. As of the 3.x branch the format to export with is configurable, and the Node export package comes with the following formats:
These new formats were added very recently - please use them with caution!
To migrate nodes from Drupal 5 to Drupal 6 use versions 5.x-2.x and 6.x-2.x.
Imports in versions 6.x-3.x and 7.x-3.x are intended to be backwards compatible with code exported from 5.x-2.x and 6.x-2.x. However, Drupal 7's node API has changed significantly and the node objects themselves are not compatible. There is a module available to help migration, but it does not fix CCK and taxonomy fields.
Node export comes with a module from James Andres to assist with exporting files/images (From Drupal 6 onwards).
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 these entities can get changed around during an import. There are a number of open issues regarding finding solutions to these limitations.
Future versions of Node export will require installation of the Universally Unique IDentifier module. This will pave the way for solving issues related to references, relationships, structure, hierarchies, etc.... as mentioned above.