Hi. I am currently working on migrating a Dungeons and Dragons website (http://www.adnddownloads.com) to Drupal 7. I have already created various content types, each containing multiple fields.

All my data is currently in a custom database. I'd like to use a module or a script to import my database and create a new node for each row. For example, let's take "Character Classes" (http://www.adnddownloads.com/classes.php). Each row of this table would be imported as a new Character Class node which have the following fields:

- Title (text)
- Description (text)
- Edition (list)
- Language (i18n module stuff)
- Files (file field with multiupload widget)

This is all information I have in my custom database. I suppose there should be a way to import all this data by doing some sort of mapping. I have already installed the Migrate module, but I can't find proper documentation, and I don't understand how to use it (I'm still kinda new to Drupal).

Is the Migrate module a good option for me? Is there a better way?

Thanks a lot for your help!

Comments

VM’s picture

EvilMonkey’s picture

Thanks VM. I finally did it with the Feeds module. The only problem is that it doesn't seem to be able to import multiple files for one entry (I use the Multiupload Filefield Widget module). Some stuff will have to be done manually, but 80% of the job is done now.

redjumpsuit’s picture

had the same problem figuring out uploading multiple files but eventually figured it out. i wrote my own migration script so i was able to just loop through the multiple files and added them to the node. you might just want to use node_load() to load all your existing nodes and re-attach the files that did not make your migration.