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)

411Sync.com API


411Sync.com is a site that provides an interface between your cell phone and information that may normally not be in a format that is mobile-friendly. Some cell phone-managed services it offers include:

  • Create and schedule personal reminders

  • A calendar

  • Stock portfolio alerts

  • Spending trackers

  • Text message storage

  • Mobile search keywords

The mobile search keywords feature is what we will be using for our mashup to deliver content. It is a nifty, free way for any web developer to create content to be delivered through SMS. Users send a request to 411Sync’s phone number. 411Sync then makes a request to your web server, passing any parameters you need. 411Sync takes whatever results come up, formats it, and sends it back to the phone.

The mobile search keywords feature has developer documentation, located at http://www.411sync.com/cgi-bin/Developer, which details the fields the form requires, what they mean, and more information about the necessary RSS response. By parsing and delivering...