In addition to being able to import the video_url through Feeds, you should also be able to import the Description. Patch to follow.

CommentFileSizeAuthor
#1 2106937-description-field-in-feeds.patch1.81 KBgdd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gdd’s picture

Status: Active » Needs review
FileSize
1.81 KB

Here's the patch. One consideration would be how would this impact an existing Feed made with the old method. I haven't tested that yet.

mcunningham’s picture

Yes, if you have an existing feed, the mapping for the video_url shows as "Missing" after applying this patch. Once you re-add the mapping, everything is fine. The addition to import the Description also works as advertised.

superdorx’s picture

I applied the patch successfully. Now what? Please provide instructions. Thanks!

mcunningham’s picture

When you are setting up a feeds mapping, there are now two different targets relating to Video: Embed url and Embed description. So if you have some metadata relating the video you are importing, you can map it into the description field.

vaccinemedia’s picture

Applied the patch and both the URL and Description fields are now selectable as targets in feeds :) However, i couldn't manage to import any data from a CSV file. I tried with 3 columns: unique key, url and desc.

Some of the fields had multiple values which I separated using a pipe and added the pipe as a tamper on each of the fields. No joy. So I then removed the desc field so I was only importing urls (still using tamper) and still no joy.

Any ideas?

plopesc’s picture

Issue summary: View changes
Status: Needs review » Fixed

Hello

Patch attached applies and worked fine, so committed in 377e32b.

About comment in #5, I saw there are problems importing multiple values for this field, but this is out of the scope of this issue, so creating a separate issue for that.

Regards.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.