News Feed
Sections

News Archive
feed this:

Zend Developer Zone:
Uploading YouTube Videos with Zend Framework
May 15, 2008 @ 07:59:42

In a recently posted tutorial on the Zend Developer Zone website, Cal Evans has pointed out a video showing PHP pushing videos out to YouTube.

Attention all you Zend Framework junkies, Jochen Hartmann has uploaded a new video to YouTube that demonstrates the basics of how to use Zend Framework with the YouTube Data API. This step-by-step demonstration walks you though everything you need to know to upload files to Youtube via Zend Framework.

The video (from the official Google developers) shows the creation of a simple application that uses the Google Data component of the Zend Framework to upload the selected video from their local machine.

You can find out more about the Google API for YouTube on this page on the Google Code website.

0 comments voice your opinion now!
google gdata component zendframework youtube upload tutorial



IBM developerWorks:
Use the YouTube API with PHP
April 16, 2008 @ 22:42:36

In this new tutorial on the IBM developerWorks website, they show you how - with a little simple HTML and PHP - to integrate functionality from the YouTube API into your site.

The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. [...] This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.

They help you get started by outlining the format that the YouTube messages use (Atom feeds) and how to run a query against the API and return back the custom data for things like video categories, popularity and the results of keyword searches.

0 comments voice your opinion now!
youtube api tutorial category keyword search atom feed


Zend Developer Zone:
Zend_Gdata for Picasa, YouTube, Google Documents List
December 18, 2007 @ 08:46:00

On the Zend Developer Zone there's a new post from Bill Karwin highlighting the Zend_GData component of the Zend Framework and how it can help grab information from the Google Data APIs.

The recent Zend Framework 1.0.3 release includes new support for some great services, including Picasa Web Albums, YouTube, and Google Documents List.

He talks about the interfaces for each of these (including what you can grab) and includes some pointers to example code that can be used with either the full framework or just the GData bundle. There's also a video demo of the component being used to fetch data from the Data API.

0 comments voice your opinion now!
zendgdata google data api picasa youtube documents zendframework zendgdata google data api picasa youtube documents zendframework


Lukas Smith's Blog:
Mashup book review
October 22, 2007 @ 08:49:00

Lukas Smith has posted his review of a book from Packt Publishing - "PHP Web 2.0 Mashup Projects: Practical PHP Mashups with Google Maps, Flickr, Amazon, YouTube, MSN Search, Yahoo!"

Duane from Pakt asked me if I would be interested in reviewing a few books for them in my blog. I picked "Mashup Projects" from the list of just released books, since I am interesting in the topic and I am actually going to give a presentation at the internal "PHP Day" we are doing at Optaros in November.

He points out the good (good writing style, well-chosen examples) and the bad (a log list of errors and oversights in the code). He also talks about the contents of the book - the different examples and the final more major project. Overall though, he sees it as a good book, one that would be a good introduction to mashups for PHP developers (if you look past the formatting issues).

0 comments voice your opinion now!
mashup book review packt google yahoo amazon flickr youtube msn mashup book review packt google yahoo amazon flickr youtube msn


WaxJelly Blog:
A More Complex PHP script using the YouTube API (with video details) PART 2
August 29, 2006 @ 07:36:04

Continuing on from their previous post on integrating PHP and the YouTube API, WaxJelly is back today with part two focusing on a cleaner, more powerful implementation of the script.

This is Part 2 of the YouTube API PHP Script. I've added a good bit of functionality, fixed a few bugs, and cleaned up the code from some unnecessary redundancies. However, I'm leaving Part 1 up for those of you who want the introduction. I'm mainly going to highlight the stuff that's new in this script and, as always, provide the code at the bottom of this post.

He shows the updates made, including:

  • cleaning up of the $_GET vars
  • the addition of constants
  • new functions to help with setting up the page
  • a function to loop through the results
  • a large function to create the HTML in the output
  • a function to add a "bookend" for each video pulled
You can check out all the code and information on this new version here.

0 comments voice your opinion now!
part2 youtube integration api complex bugfix functionality part2 youtube integration api complex bugfix functionality


WaxJelly Blog:
Simple PHP script using the YouTube API (with pagination)
August 28, 2006 @ 15:33:16

On the WaxJelly blog today, there's a new tutorial showing how to combine PHP and the YouTube API interface to grab the information and a thumbnail of videos matching your search.

For the purposes of this tutorial, you'll only need to change one variable to actually see the script in action. If you don't have a youtube API developer ID, you can get one for free here. Other than that, this is a primative script that grabs the info, styles it into manageable chunks, and displays the first 4 pages of results.

First, they set up the values they're defaulting to in the script (GET vars). The call to the REST API is next, passing along the method, developer ID, page, number to show per page, and the tag to search on. The results of this are pulled in with teh file_get_contents and parsed with SimpleXML and looped through, combined with HTML, and outputted into a page looking something like this.

5 comments voice your opinion now!
youtube pagination script tutorial rest api output formatted page youtube pagination script tutorial rest api output formatted page



Community Events











Don't see your event here?
Let us know!


zend example book release package framework code zendframework ajax application PEAR PHP5 developer releases database security job mysql conference cakephp

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework