YouTube has a list of standard video feeds outlined here: http://code.google.com/apis/youtube/developers_guide_protocol.html#Stand...

It'd be nice to have a manageable way to pull from these video feeds without expecting users to manage the URLs to the feeds themselves.

Currently I'm leaning towards a function which keeps track of the feed URLs and just allows users to specify a key which corresponds to one of these feeds. The function could then determine the correct feed to use, and pass it off the the youtube_api_get_feed() function outlined in http://drupal.org/node/272509 for retrieval

So, for example, to get the most popular feed, a user could just make a call to something along the lines of youtube_api_get_standard_feed('most_popular', 1, 25); To bring back the top 25 results from the most popular feed.

Comments

beeradb’s picture

Status: Active » Closed (fixed)

This was completed with commit CVS Commit 124134