YQL

552 views

Published on

Presentation on the possibilities of using YQL to fetch, process,and deliver content to websites.

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
552
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

YQL

  1. 1. YQL Y not QL?
  2. 2. YQL <ul><li>Yahoo! Query Language </li></ul><ul><li>SQL for the WWW… </li></ul><ul><ul><li>SELECT * FROM table; </li></ul></ul><ul><ul><li>INSERT INTO table VALUES (value); </li></ul></ul><ul><ul><li>UPDATE table SET column=value; </li></ul></ul><ul><ul><li>DELETE FROM table; </li></ul></ul><ul><li>And beyond… </li></ul>
  3. 3. YQL <ul><li>Components of SCRIPT </li></ul><ul><li>http://query.yahooapis.com/v1/public/yql?q=select * from rss where url='http: </li></ul><ul><li>//rss.people.com/web/people/rss/topheadlines/' limit </li></ul><ul><li>10&format=json&callback=PEOPLE.yqlcallback </li></ul><ul><li>http://query.yahooapis.com/v1/public/yql </li></ul><ul><li>- Yahoo! API </li></ul><ul><li>select * from rss where url='http://rss.people.com/web/people/rss/topheadlines/' limit 10 </li></ul><ul><li>- the SQL query </li></ul><ul><li>format=json </li></ul><ul><li>- specify JSON format (or XML) </li></ul><ul><li>callback=PEOPLE.yqlcallback </li></ul><ul><li>- specify callback function, so you don't need setTimeout </li></ul>
  4. 4. YQL <ul><li>Additional possibilities </li></ul><ul><li>Access HTML, XML, JSON, RSS, Atom, and Microformats </li></ul><ul><li>Use SELECT, INSERT, UPDATE, and DELETE </li></ul><ul><li>Create &quot;Open Data Tables&quot; where you can store, manipulate, retrieve, sort, etc. data from disparate datasources </li></ul><ul><li>No sign-up required unless datasource requires a log-in, then must get API Key </li></ul>
  5. 5. YQL <ul><li>Limitations </li></ul><ul><li>100,000 calls per day, but you can request additional limits </li></ul><ul><li>Reliant on the Yahoo! server being up </li></ul>
  6. 6. YQL <ul><li>Resources </li></ul><ul><li>Demo: http://www.people.com/people/static/h/test/yql </li></ul><ul><li>YDN: http://developer.yahoo.com/yql/ </li></ul><ul><li>Console: http://developer.yahoo.com/yql/console/ </li></ul><ul><li>Documentation: http://developer.yahoo.com/yql/guide/ </li></ul>

×