Closed (fixed)
Project:
Video Embed Field
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 17:22 UTC
Updated:
4 Feb 2014 at 19:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jec006 commentedHi, I'll look into this - its probably because the parser can only use certain types of fields. You may be able to just use feeds standalone.
I don't have a quick fix and this is gonna take a bit to set up and figure out. Hopefully I can get to it next weekend
Comment #2
patrickfgoddard commentedWould like to second this request. And can help out any way I can. If there hasn't been any work on this yet, I can start digging into how the feeds mapping works.
Comment #3
patrickfgoddard commentedHere is my first pass at adding mapping functionality. This is my first time submitting a git-created patch and I'm just figuring out the process, so there is a good chance I got it wrong. There is also a good chance the functionality is incomplete, but hopefully this gets the ball rolling.
Feel free to provide feedback and I can improve.
The mapper only deals with the video_url part of the field_youtube_video array, as that seems like the only part that made sense to map. Should I add description, too? Guess it couldn't hurt, but would most people map any description content to the body field of the node?
In any case, here it is...
Comment #4
patrickfgoddard commentedForgot to change status.
Comment #5
TimelessDomain commentedIt works! Thanks. At least it does for normal rss feed parsing. The youtube parser itself is having trouble telling which rss feeds users should use #1095362: Documentation how to use standard feeds?
I did change
'description' => t('The @label field of the node.', array('@label' => instance['label'])),
to
'description' => t('The @label field of the node.'),
since there was an error that was stopping it from working. i did not try the description, only the video url. which works great.
Comment #6
ptrl commentedThis patch works awesome with Feeds imports! I had some minor issues applying it with some whitespace so I have clean up the patch file, no new code. This really should be included in Video Embed Field.
Comment #7
jec006 commentedAwesome - thank you guys.
Committed here: http://drupal.org/commitlog/commit/25834/2cdfb6d2960479ebd550b5a658b822e...
Comment #9
kappaluppa commentedI am using
video embed field 7.x-2.x-dev
feeds 7.x-2.0-alpha8
The video embed field is still does not show up as an option. I've created additional 'test fields' to see if they show up. Other types of fields, i.e., text, show up, but not the video embed fields.
Are there any other requirements?
Thanks!
K
Comment #10
plopescIt should be fixed now once 7.x-2.0-beta6 has been released
Comment #11
donbon commentedShould the front project page make mention of the fact that the module works with feeds?