I am trying to import youtube video feeds as mentioned in http://www.drupaltherapy.com/node/34.

I could create feeds on a clean install of drupal 6.12. However, when I did the same thing on my existing drupal sites, it is not working. Once I create the feed, when I click on the refresh, it does not import feeds. I am not sure what made this happen. But when I do exactly the same thing on clean install, it works. Please suggest

Comments

sarmiluv’s picture

I figured what happned. It is not a problem with clean install or anything. The problem is that it does not take a feed that has a space. For example, if I search "drupal tutorial" in youtube and apply the feed url of this search, it does not work. However, if I search as "drupal-tutorial" then the feed url works!!

The question now is, Is it supposed to not work with a feed generated by search words with spaces in between??

aron novak’s picture

Status: Active » Postponed (maintainer needs more info)

Well, which parser do you use?
I cannot really confirm that bug. I searched for some words in youtube search, separated by spaces and it processes nicely.
Can you paste here your problematic feed URL?

sarmiluv’s picture

I am using common syndication parser. I searced for "drupal tutorial" in youtube and sorted by newest. Here is the feed url that does not work:

http://gdata.youtube.com/feeds/base/videos?q=drupal tutorial&client=ytapi-youtube-search&alt=rss&v=2

aron novak’s picture

Status: Postponed (maintainer needs more info) » Fixed

Your feed URL is invalid. Read more here:
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
In short: you should write %20 instead of a space and it will work, i think you manually create these URLs and not by youtube.

Status: Fixed » Closed (fixed)

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