I'm migrating a Drupal 6 site to Drupal 7 at the moment where they are using the ISBN Field module to store the ISBN number of books in their shop. Attached is a patch which adds support for this as a new destination field.

Note, there's no stable D7 version of the module yet but there's a patch in the issue queue for it which is marked RTBC.

CommentFileSizeAuthor
isbn.patch1.45 KBstella
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeryan’s picture

Project: Migrate Extras » ISBN Field
Version: 7.x-2.x-dev » 6.x-1.x-dev
Component: Migrate Extras Features » Code
Status: Needs review » Needs work

This would best go into the ISBN module itself. This patch would need the following changes:

1. Add isbn_migrate_api().
2. Rename isbn.inc to isbn.migrate.inc, so hook_migrate_api() can be found automatically.
3. Add isbn.migrate.inc to isbn.info.

Noting your D6-to-D7 scenario, the migrate_d2d module in my sandbox automatically detects the table columns on both sides so they can be mapped directly without custom handlers.

Jon Pugh’s picture

Title: Add ISBN field support » Add Migrate.module support to ISBN module

I would consider adding this with a clean patch against 6.x-1.x....