diff --git a/python_scrapers/AtriumePlanning.py b/python_scrapers/AtriumePlanning.py index 6997107..9f54f41 100644 --- a/python_scrapers/AtriumePlanning.py +++ b/python_scrapers/AtriumePlanning.py @@ -116,5 +116,6 @@ if __name__ == '__main__': # print cumbria_parser.getResults(22,11,2007) - parser = AtriumePlanningParser("Dorset County Council", "Dorset", "http://www.dorsetforyou.com/ePlanning/loadResults.do") - print parser.getResults(13,11,2007) + #parser = AtriumePlanningParser("Dorset County Council", "Dorset", "http://www.dorsetforyou.com/ePlanning/loadResults.do") + parser = AtriumePlanningParser("Somerset County Council", "Somerset", "http://webapp1.somerset.gov.uk/ePlanning/loadResults.do") + print parser.getResults(1,11,2007) diff --git a/python_scrapers/Christchurch.cgi b/python_scrapers/Christchurch.cgi index 91c5e71..3c3544f 100644 --- a/python_scrapers/Christchurch.cgi +++ b/python_scrapers/Christchurch.cgi @@ -11,7 +11,7 @@ use XML::Writer; # The master URLs for the Christchurch planning search our $SearchURL = "http://webapps.christchurch.gov.uk/PlanningApplications/pages/ApplicationSearch.aspx"; -our $InfoURL = "http://webapps.chirstchurch.gov.uk/PlanningApplications/pages/ApplicationDetails.aspx?Authority=Christchurch%20Borough%20Council&Application="; +our $InfoURL = "http://webapps.christchurch.gov.uk/PlanningApplications/pages/ApplicationDetails.aspx?Authority=Christchurch%20Borough%20Council&Application="; # We're a CGI script... my $query = CGI->new(); @@ -139,6 +139,7 @@ sub output_applications $Writer->dataElement("postcode", $postcode); $Writer->dataElement("description", $description); $Writer->dataElement("info_url", $InfoURL . $reference); + $Writer->dataElement("comment_url", $InfoURL . $reference); $Writer->dataElement("date_received", $date); $Writer->endTag("application"); } diff --git a/python_scrapers/SitesToGenerate.csv b/python_scrapers/SitesToGenerate.csv index 56188eb..7915e90 100644 --- a/python_scrapers/SitesToGenerate.csv +++ b/python_scrapers/SitesToGenerate.csv @@ -183,3 +183,4 @@ "Swansea City and County", "Swansea", "http://www2.swansea.gov.uk/", "PlanningExplorer", "SwanseaParser" "Shrewsbury and Atcham Borough Council", "Shrewsbury", "http://www2.shrewsbury.gov.uk/", "PlanningExplorer", "ShrewsburyParser" "Dorset County Council", "Dorset", "http://www.dorsetforyou.com/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" +"Somerset County Council", "Somerset", "http://webapp1.somerset.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" diff --git a/python_scrapers/WestDorset.cgi b/python_scrapers/WestDorset.cgi index 5b0b6b0..b888315 100644 --- a/python_scrapers/WestDorset.cgi +++ b/python_scrapers/WestDorset.cgi @@ -139,6 +139,7 @@ sub output_applications $Writer->dataElement("postcode", $postcode); $Writer->dataElement("description", $description); $Writer->dataElement("info_url", $InfoURL . $reference); + $Writer->dataElement("comment_url", $InfoURL . $reference); $Writer->dataElement("date_received", $date); $Writer->endTag("application"); }