migrate
Migrate module: migrating a node's taxonomy terms
One of the issues I encountered when migrating nodes to Drupal, using the migrate module, was that I couldn't associate nodes with more than one taxonomy term. Actually in this example, I'm migrating content from one Drupal database to another, so I'm going to assume everyone is already familiar with the database structure, specifically the node and term_node tables.
Migrate module: migrating poll nodes
Currently the Migrate module doesn't support full migration of poll nodes. When the poll module is enabled, you can create a content set mapping for a poll node, but you are unable to set the poll status (active or closed) and, more importantly, you can't migrate the poll choices.
Using the hook_migrate_prepare_node() and hook_migrate_complete_node() hooks, I was able to migrate all choices for each node, along with all existing votes stored.
Migrate module: file handling
UPDATE: In the latest version of the migrate module, the hook names have changed - the word 'destination' has been removed.
So you're migrating pages and users from another CMS to Drupal using the Migrate module, but how do you handle all those file attachments? This example will cover taking the input filename and adding it to an imagefield on a Drupal content type. However, this should work in exactly the same way for filefields too.
Migrate module: handling multiple user roles
UPDATE: In the latest version of the migrate module, the hook names have also changed - the word 'destination' has been removed.
One of the issues I encountered when migrating users from another CMS to Drupal, using the migrate module, was that I couldn't associate users with more than one role.
Migrate module: handling encrypted passwords
UPDATE: it is no longer necessary to do this, as the latest release of the migrate module supports md5 passwords. The hook names have also changed - the word 'destination' has been removed.
Migrating your website to Drupal
So you've got a website using another CMS and you want to switch to Drupal? Well with the new Migrate and Table Wizard modules the whole migration process is now relatively painless!


