O'Reilly logo

Migrating to Drupal 7 by Trevor James

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Creating a Feeds Importer

We have built our content type and added custom fields to hold our imported content and data. We're now ready to build our importer that will allow us to import our content from a CSV file into our content type. At this point we'll assume that you have finished adding all of your custom fields to your content type that you'll need based on your migration plan and on your CSV file. We'll also assume that you have named your CSV column headers so that they are all lower case and words are separated by underscores.

Additionally I have added a column to my CSV that will hold the GUID or unique identifier numeric ID for each content row, and subsequently each feed item that gets imported into a Drupal node. In Excel, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required