I've read alot within the issues here, read up on google searches and even explored Youtube API but I seriously cannot get feedapi to import youtube videos.

I've created a separate node type for the feed items
Enabled:
Feedapi
Feedapi Mapper
Emfield

and as far as I can make out I've set all the settings to where they need to be.

I go in to map "original_URL" to "emfield" and have deleted/refreshed the feed and all I can pick up is the thumbnail and descriptions as listed in the feed im trying to add:

http://gdata.youtube.com/feeds/base/users/itnnews/uploads

and yes I have enabled the emfield CCK for the content type too.

The only thing I can put it down to is when I'm within mapping for the feed, I look at the example feed and see this:

 [original_url] => http://www.youtube.com/watch?v%3DhsPqX-gqkJk%26feature%3Dyoutube_gdata

Well after seeing this and checking out the link it's actually dead and just redirects to another youtube page.

has anyone got any idea if this is the reason I cant get youtube videos to embed and also is there a way around it?

Many thanks

Comments

lagerassassin’s picture

From what I can work out the problem is within the URL

= is being converted to %

is this a problem with my installation or is it a problem with the RSS feed?

Any suggestions would be great

alfthecat’s picture

Hi lagerassasin,

I've managed to get this to work by using a tool on this website: http://referd.info/

I used the output of this tool and it works great.

thomasmuirhead’s picture

Hi lagerassasin

I'm getting exactly the same problem. When the feed is read it's inserting %26 instead of & and %3D instead of =.

I'm using 6.x-1.9-beta3

Any help from anyone would be great. The same rss feed seems to work elsewhere.

@alfthecat - that site works for everything except channel feeds. [Edit - meant to say thanks for that though]

alfthecat’s picture

@thomasmuirhead

your welcome, hoping to find out how to get the channels working too!

thomasmuirhead’s picture

Ok, I got it to work by using the Common Syndication Parser in FeedAPI rather than the SimplePie parser. To do this you need to enable the Common Syndication Parser module then edit the relevant content type and enable Common Syndication Parser.

This is a workaround rather than a fix.

I hope that's helpful for people