Setting up our mappings for the product review Feeds importer

Description

Collection: Advanced Site Building in Drupal 7Chapter: How to Import Content With Feeds

After building out the settings for our product review importer, we set up the mappings between our CSV columns and node fields. Easy peasy!

Transcript

So we got an error up here but hopefully in future versions of Feeds Tamper you won't see this. So our mappings are going to be a little bit off because we're not mapping to the product node type anymore. We're mapping to the review node type.

So the only thing that stays the same here is the name that we're going to add a tamper plugin to this but we can remove the description and image. The body is actually going to be aligned with a different field. We go to the Excel file or CSV file.

It's the review column here that we're going to be imported. So I'm going to go back to the browser, and I'm going to click remove under description and image and click save. And now we'll add a field for the review.

So the source is review, R-E-V-I-E-W, and then the target here is going to be body and we'll click add. Now we have several other fields associated with the review content type which include three voting fields and unfortunately at this point we can't import in the feeds the five star fields. In the future hopefully this will happen.

And then the last field that we have is the one that relates this review to the product node, and we also can't import a relationship like that right now with Feeds but again hopefully in the future we'll be able to do that as they update the Feeds module. So at this point this is the full mapping although we do need to add a tamper plugin to this name to title. So let's go up one in the hierarchy of pages here and click on Feeds Importers in the breadcrumbs and for import reviews let's click on tamper.

So we're going to be adjusting the title to add review of and then quotes around the name. So I' ...

When you have an active membership, you will be able to see your progress here.

Skill focus: Site BuildingSkill level: Intermediate - Advanced

Get ready for a dive into some of Drupal's most powerful tools for site builders. Here we look deep into Views, Panels, Display Suite, and Context modules for laying out Drupal pages. We uncover importing content into a Drupal site with the Feeds module, build and customize a slideshow with Views Slideshow and immerse ourselves in ways to spam-proof our site. Most importantly, we look at how all of these tools work together and how to decide which tools are best for which situation.

Before watching this series, you will need a fresh Drupal 7 installation. Follow the videos in the Setting Up a Web Environment With Drupal to get Drupal set up on your Windows, OSX (Mac) or Linux machine.

Some of the key points we'll be covering include:

How to set up administrative tools to speed up your building process.

How to configure content types and decide when to share fields and other configuration.

How to use the Panels modules to position content

How to use Display Suite for positioning content and building new view modes without code!

Working with advanced Views tools like relationships and argument-passing

How to build a slideshow with Views

How to import content into your site using the Feeds module

Who this collection is for

This collection is for anyone who wants to learn the most powerful tools and techniques for organizing and positioning content on a Drupal site. This will of course be useful for determining which techniques to use on your own projects, but because we will cover the most common techniques you will be likely to run into when working with existing Drupal projects, this collection will help you tremendously when working on a team.

Prerequisites

A basic familiarity with Drupal concepts and terminology will be useful. If you start to feel lost, you may want to review the "Build Your First Drupal 7 Web Site" collection where we cover these. This collection is intended as a kind of sequel to that collection, so we build off of the ideas from it.

It looks like there might be an issue playing videos in this browser. We're working on better cross-brower experience, but in the meantime please try the latest Chrome or Firefox browsers. Or, you may be able to watch the video directly without progress tracking or transcript: