Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPRiot.com:
Zend Framework 101: Zend_Gdata_YouTube
Jun 10, 2010 @ 14:15:27

PHPRiot.com has posted the latest tutorial in their Zend Framework 101 series, a look at using Zend_Gdata_YouTube to pull information from the popular video sharing site.

The Zend Framework contains a number of APIs for accessing Google services, including YouTube. In this article I will show you how to retrieve a feed of videos from YouTube using the Zend_Gdata_YouTube class within Zend_Gdata. [...] To simplify things in this article, we're going to use the service to retrieve videos for a specific user, and we're going to do so using anonymous authentication.

Included in the tutorial are the methods for pulling a list of videos for a given YouTube username and looping over the resulting list to display them as links to a page. This includes examples of fetching information like date published, last update and embedding the videos (or thumbnails) directly into the page. For more information on the component, see this section of the Zend Framework manual.

tagged: youtube component zendframework tutorial

Link:


Trending Topics: