Permalink
Browse files

Merge remote branch 'maxmanders/master'

  • Loading branch information...
sh1mmer committed May 11, 2010
2 parents fd07951 + 9e436ce commit 5b12e4d2b61be2dc6488f9ca471d232e8de2a26f
Showing with 21 additions and 0 deletions.
  1. +21 −0 ukgeocode/ukgeocode.xml
View
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery>select postcode, lat, lon from {table} where postcode = "eh5 2gj";</sampleQuery>
+ <author>Max Manders</author>
+ <documentationURL>http://maxmanders.co.uk/ukgeocode/</documentationURL>
+ <description>Geocodes UK postcodes to latitude and longitude co-ordinates. Contains Royal Mail data © Royal Mail copyright and database right 2010.</description>
+ </meta>
+
+ <bindings>
+ <select itemPath="response.coord" produces="XML">
+ <urls>
+ <url>http://maxmanders.co.uk/ukgeocode/postcode/{postcode}</url>
+ </urls>
+ <inputs>
+ <key id='postcode' type='xs:string' paramType='path' required="true" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
+

0 comments on commit 5b12e4d

Please sign in to comment.