source: subversion/applications/utils/tagstat/osm_xapi_proxy.php @ 18618

Last change on this file since 18618 was 17259, checked in by petschge, 10 years ago

Small change to style.css

Switch XAPI links over to protcol version 0.6

Add javascript which creates review links on the fly
(code by Jean-Baptiste Rouquier)

File size: 303 bytes
Line 
1<?php
2header('Content-type: application/xml');
3// validate key and value
4$key=$_GET['key'];
5$value=$_GET['value'];
6$key   = urlencode(urldecode($key));
7$value = urlencode(urldecode($value));
8
9// get the xml .osm data
10readfile('http://www.informationfreeway.org/api/0.6/*[' . $key .'='. $value .']');
11?>
Note: See TracBrowser for help on using the repository browser.