From 1ccd27b1ec606e289e6da369f26b0dfed736b83c Mon Sep 17 00:00:00 2001 From: memespring Date: Mon, 5 Oct 2009 13:33:01 +0000 Subject: [PATCH] typos --- docs/include/scraper_support.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/include/scraper_support.php b/docs/include/scraper_support.php index 6eade40..d61c09d 100644 --- a/docs/include/scraper_support.php +++ b/docs/include/scraper_support.php @@ -297,7 +297,7 @@ function scrape_applications_islington ($search_url, $info_url_base, $comment_ur $clean_postcode = strtolower($postcode); $clean_postcode = str_replace(" ","+", $clean_postcode); - $url = "http://ernestmarples.com/?p=sw98jx&f=csv"; + $url = "http://ernestmarples.com/?p=" . $clean_postcode . "&f=csv"; $result = file_get_contents($url); $result = split(",", $result); if(count($result) != 2){ @@ -312,7 +312,7 @@ function scrape_applications_islington ($search_url, $info_url_base, $comment_ur $return = array($OSBG->easting, $OSBG->northing); } - + function location_to_postcode($easting, $northing) { $url = sprintf( "http://streetmap.co.uk/streetmap.dll?GridConvert?name=%d,%d&type=OSGrid",