Skip to content

discovering YQL

A co-worker started using pipes, which is awfully cool, then someone else stumbled on YQL, which I think pipes is a front end for.  YQL imagines the web as a giant database, with tables defined for diffferent web services, for search results, for HTML documents… it’s crazy.

  • yql article at ajaxian
  • rss aggregating query (console / json)
  • select * from rss where url=’http://www.ncyoung.com/?feed=rss2′ or url=’http://hackaday.com/feed/’
  • xhtml query (console / xml)
  • select * from html where url=”http://cisco.com” and xpath=’//meta[@name="docType"]‘ limit 3
  • search results query (console / json)
  • select * from local.search where query=”falafel” and location=”portland,or”
  • show tables (console / xml)