YouTube FeedAPI finds no items

dropchew - October 13, 2008 - 08:27
Project:Youtube API
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I installed this module with feedapi and notice there's a youtube_feed parser and node creater. Tried enabling the options but feed return no items. Simplepie parser was working fine with Feedapi Node.

Can you guide me to use this? I am particuarly interested in the tags area. Thanks!

#1

seanr - December 17, 2008 - 22:29
Title:youtube feedapi help» YouTube FeedAPI finds no items
Version:5.x-1.0-beta1» 5.x-1.x-dev
Component:Documentation» Code
Category:support request» bug report

Same problem here. This module doesn't seem to be doing squat right now. Just spent quite a lot of time trying to figure this out and got nowhere. :-(

#2

beeradb - December 18, 2008 - 02:26
Category:bug report» support request

I just did a fresh install on a D5 checkout with only the YouTube API, Youtube FeedAPI Integration Module, and FeedAPI modules installed and was able to set up a feed as expected (although I did get some warnings thrown by what looks to be an API change in the FeedAPI, the feed was created, I'll try to address the warnings quickly). Perhaps a more detailed explanation of the problem would assist me in helping you.

For reference, here are the steps I took:

  • Installed D5, Enabled the 3 modules listed above.
  • Went to the YouTube API Admin settings page and input my developer key and client id
  • Went to edit the Feed (Lightweight items) content type at admin/content/types/feedapi-aggregator
  • Under parsers I enabled the youtube_feed parser, and the youtube_feed processor. I disabled the default "FeedAPI Aggregator" parser, although this should not matter. I set the default content type to "story" and the input filter to "full html" (again, this should not matter, as long as the input filter allows for div, object, and embed tags)
  • I went to create a Feed node, at node/add/feedapi-aggregator. Under feed I entered the url http://gdata.youtube.com/feeds/api/standardfeeds/top_favorites. I left all other settings untouched (besides creating a title, of course)
  • Upon node creation I refreshed the feed, and 25 nodes were created. Videos embedded as expected

I'd love to help you guys, but I need a little bit more to go on here... which of these steps are completed? where exactly are you running into issues?

#3

seanr - December 18, 2008 - 20:17

I'm trying to use this feed:
http://gdata.youtube.com/feeds/base/users/Citizens4Giannoulias/uploads?a...

I also tried this since yours didn't include the arguments:
http://gdata.youtube.com/feeds/base/users/Citizens4Giannoulias

The second one gives me a fatal error:

Fatal error: Call to a member function attributes() on a non-object in /var/www/html/alexiforillinois.com/html/modules/youtube_api/youtube_api.module on line 484

#4

seanr - December 18, 2008 - 20:24

Your instructions seem to indicate that you enabled modules other than the ones you listed. Looks like you used FeedAPI Aggregator, rather than the standard feed content type. I tried it with that and that didn't work either. I'm using the 5.x-1.x-dev version of all of the modules.

#5

seanr - December 22, 2008 - 17:20

The problem with there being no items appears to be due to the fact that when you view a YouTube feed in Firefox, it gives you an RSS2 feed instead of the Atom feed that the Youtube Feed module expects. The failure to work with any of the other URLs above appears to have been caused by the hash check (it never tried to parse the feed items since it thought it was the same apparently). Once I tried the Atom URL, I was able to get it to call the parser, but got a fatal error as reported here: http://drupal.org/node/350182

#6

beeradb - December 22, 2008 - 17:45
Category:support request» bug report

Hey,

Sorry I've been slow to respond on this, things are pretty hectic trying to wrap up work before the holidays. I'm leaving to go out of town early tomorrow morning, but I'll try to carve out some time this evening to take a look at this issue in more depth. If I can't get back to you tonight, it will likely be sometime shortly after the holidays.

Thanks for reporting these issues.

#7

seanr - December 30, 2008 - 15:02
Category:bug report» support request
Status:active» fixed

Solved by this one: http://drupal.org/node/350182

Feed URL should have been this:
http://gdata.youtube.com/feeds/api/users/Citizens4Giannoulias/uploads

#8

System Message - January 13, 2009 - 15:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.