瀏覽代碼

typos

import/raw
memespring 15 年之前
父節點
當前提交
66a46b0da8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      trunk/docs/include/scraper_support.php

+ 2
- 2
trunk/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",


Loading…
取消
儲存