Book Image

PHP Web 2.0 Mashup Projects: Practical PHP Mashups with Google Maps, Flickr, Amazon, YouTube, MSN Search, Yahoo!

By : Shu-Wai Chow
Book Image

PHP Web 2.0 Mashup Projects: Practical PHP Mashups with Google Maps, Flickr, Amazon, YouTube, MSN Search, Yahoo!

By: Shu-Wai Chow

Overview of this book

A mashup is a web page or application that combines data from two or more external online sources into an integrated experience. This book is your entryway to the world of mashups and Web 2.0. You will create PHP projects that grab data from one place on the Web, mix it up with relevant information from another place on the Web and present it in a single application. This book is made up of five real-world PHP projects. Each project begins with an overview of the technologies and protocols needed for the project, and then dives straight into the tools used and details of creating the project: Look up products on Amazon.Com from their code in the Internet UPC database A fully customized search engine with MSN Search and Yahoo! A personal video jukebox with YouTube and Last.FM Deliver real-time traffic incident data via SMS and the California Highway Patrol! Display pictures sourced from Flickr in Google maps All the mashup applications used in the book are built upon free tools and are thoroughly explained. You will find all the source code used to build the mashups used in this book in the code download section for this book.
Table of Contents (11 chapters)

Yahoo! Search Web Service


The second search service we will look at is the Yahoo! Search Web Service. Unlike the other Microsoft Live Search, this service is REST based. We will utilize what we learned in the previous chapter to access this service. Still, we need to examine this web service to see what parameters we need to pass, and what we can expect back.

The home page of this web service is located at http://developer.yahoo.com/search/. Just like the other two, the service is supported by excellent documentation, a forum community, and sample codes. Out of all three services, Yahoo!’s sample code is far more extensive and provides examples in PHP, Perl, Python, Java, JavaScript, and Flash. Again, like all three, you will have to download an identifier key. You can get this key at http://api.search.yahoo.com/webservices/register_application.

Yahoo! Search Web Service is actually a whole family of web search services. Among the other services available are audio search, image search, and...