By Konstantin Boyandin on
Hello,
I am transferring a site to Drupal. The problem is, I need an optimal means to migrate data.
I have created a custom data type and need to import existing data records. What is the optimal (with acceptable ration convenience/speed) means to import data (mass create nodes) in Drupal 7.*?
Thanks.
Comments
_
Checkout the http://drupal.org/project/migrate module.
Use this module
Use this module http://drupal.org/project/feeds
Drupal Theme generator
Thanks, it's the module that
Thanks, it's the module that solves the problem.
Feed Importer finally (!) does this job
I've been hearing people claim for over a year that feed importer (http://drupal.org/project/feed_import) could import CSVs into your database. I've tried several times to import nodes, and at some point in the past month or two it has started to work. It may simply be that they've overhauled the GUI so that it doesn't offer configuration settings by default that hopelessly break things.
It appears that migrate (http://drupal.org/project/migrate) only works if you're in the mood to implement a module-ful of PHP. At least, I installed it, looked over the GUI, and gave up trying to figure it out.
My success was based on creating a new content type that received text fields from the CSV fields. I carefully used the same header names and column orders in both the import specification and the CSV file. Actually, I uploaded the sample CSV format and filled in that file.
The only remaining nit is that it doesn't work with Mac-format text files. I've run it successfully with PC-format text files. Be careful about the CRLFs in the CSV file.