What | Mashup the web APIs from Last.fm and YouTube to create a video jukebox of songs |
Protocols Used | REST (XML-RPC available) |
Data Formats | XML, XPSF, RSS |
Tools Featured | PEAR |
APIs Used | Last.fm and YouTube |
Now that we’ve had some experience using web services, it’s time to fine tune their use. XML-RPC, REST, and SOAP will be frequent companions when you use web services and create mashups. You will encounter a lot of different data formats, and interesting ways in which the PHP community has dealt with these formats. This is especially true because REST has become so popular. In REST, with no formalized response format, you will encounter return formats that vary from plain text to ad-hoc XML to XML-based standards.
The rest of our projects will focus on exposing us to some new formats, and we will look at how to handle them through PHP. We will begin with a project to create our own personalized video jukebox. This mashup will pull music lists feeds from...