Skip to content

Instantly share code, notes, and snippets.

@musicm122
Created May 11, 2011 00:56
Show Gist options
  • Save musicm122/965706 to your computer and use it in GitHub Desktop.
Save musicm122/965706 to your computer and use it in GitHub Desktop.
Open Data Table test YQL query
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Terrance Smith</author>
<documentationURL>http://craigslist.org/</documentationURL>
<sampleQuery>
select * from {table} where location="sfbay"
</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url>
http://www.craigslist.org/about/best/{location}/index.rss
</url>
</urls>
<inputs>
<key id="location" type="xs:string" paramType="path" required="true"/>
</inputs>
</select>
</bindings>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment