Skip to content

Commit

Permalink
add cl.srch.listings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
HanDaber committed Dec 21, 2012
1 parent dafbb16 commit 1bdf7c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions craigslist/craigslist.search.listings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Dan Haber</author>
<documentationURL>http://craigslist.org/</documentationURL>
<sampleQuery>select * from {table} where location="sfbay" and type="sss" and query="things" and min="200" and max="1500"</sampleQuery>
</meta>
<bindings>
<select itemPath="" produces="XML">
<urls>
<url>http://{location}.craigslist.org/search/{type}?format=rss&minAsk={min}&maxAsk={max}&query={query}</url>
</urls>
<inputs>
<key id="location" type="xs:string" paramType="path" required="true" />
<key id="type" type="xs:string" paramType="path" required="true" />
<key id="min" type="xs:string" paramType="path" required="false" />
<key id="max" type="xs:string" paramType="path" required="false" />
<key id="query" type="xs:string" paramType="query" required="true" />
</inputs>
</select>
</bindings>
</table>

0 comments on commit 1bdf7c0

Please sign in to comment.