For the rest of our examples, we will use a new resource also provided by Yahoo! though not related with the YUI Library. Yahoo! has opened most of its databases to the public via a simple interface. It is an SQL-like language that allows you many of the standard SQL query operations. You can see it in operation at the YQL console at:
http://developer.yahoo.com/yql/console/
You can send an HTTP request to: http://query.yahooapis.com/v1/public/yql appending any of several arguments, among them the q
argument containing the YQL request, such as:
select title, abstract, url, source from search.news where query="dakar"
The YQL service will retrieve a listing of records from the search.news
table related to the Dakar car rally returning the title, abstract, source
, and URL pointing to the original article. Yahoo! provides an ever increasing number of tables such as news, weather, geo-location, maps, Flickr!, and social sites all through a simple interface and in different...