From 55b14a2b7194cb7544ff2db7ef941c62b1b94b7e Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Sun, 8 Mar 2009 19:11:19 +0000 Subject: [PATCH] This is a big refactor of the scrapers. The database table which says which scrapers are where will now be filled in automatically, which should result in rather less in the way of manual editing errors. I've also redone the python PublicAccess scraper and set all the PublicAccess sites to use it (removing the PHP PublicAccess scrapers). --- ...herFilesToCopy.csv => OtherFilesToCopy.csv | 0 SitesToGenerate.csv | 322 ++++++++++++++++++ deployment_script_common | 12 +- docs/scrapers/Tendring.php | 32 -- docs/scrapers/argyllandbute.php | 39 --- docs/scrapers/bedford.php | 50 --- docs/scrapers/bexley.php | 39 --- docs/scrapers/blaby.php | 39 --- docs/scrapers/bradford.php | 39 --- docs/scrapers/bromley.php | 5 - docs/scrapers/cambridge.php | 51 --- docs/scrapers/chester-le-street.php | 49 --- docs/scrapers/cityoflondon.php | 32 -- docs/scrapers/corby.php | 39 --- docs/scrapers/dartford.php | 50 --- docs/scrapers/doncaster.php | 50 --- docs/scrapers/durham.php | 50 --- docs/scrapers/eastcambs.php | 39 --- docs/scrapers/eastriding.php | 50 --- docs/scrapers/gloucester.php | 39 --- docs/scrapers/hambleton.php | 50 --- docs/scrapers/hammersmithandfulham.php | 50 --- docs/scrapers/horsham.php | 50 --- docs/scrapers/lambeth.php | 51 --- docs/scrapers/leeds.php | 50 --- docs/scrapers/manchester.php | 52 --- docs/scrapers/midsussex.php | 50 --- docs/scrapers/newcastle.php | 50 --- docs/scrapers/newham.php | 39 --- docs/scrapers/northeastderbyshire.php | 39 --- docs/scrapers/norwich.php | 50 --- docs/scrapers/oxford.php | 50 --- docs/scrapers/reading.php | 50 --- docs/scrapers/richmondshire.php | 39 --- docs/scrapers/rochford.php | 50 --- docs/scrapers/salford.php | 50 --- docs/scrapers/sandwell.php | 39 --- docs/scrapers/scottishborders.php | 39 --- docs/scrapers/sheffield.php | 39 --- docs/scrapers/stafford.php | 50 --- docs/scrapers/staffordshiremoorlands.php | 39 --- docs/scrapers/swindon.php | 39 --- docs/scrapers/threerivers.php | 50 --- docs/scrapers/torridge.php | 50 --- docs/scrapers/tunbridgewells.php | 39 --- docs/scrapers/valeofthewhitehorse.php | 39 --- docs/scrapers/wakefield.php | 39 --- docs/scrapers/westwiltshire.php | 39 --- docs/scrapers/worthing.php | 50 --- docs/scrapers/wycombe.php | 50 --- generateCGIScripts.py | 125 +++++++ .../{CGITemplate => CGITemplate.py} | 12 +- python_scrapers/SitesToGenerate.csv | 304 ----------------- python_scrapers/generateCGIScripts.py | 62 ---- 54 files changed, 465 insertions(+), 2435 deletions(-) rename python_scrapers/OtherFilesToCopy.csv => OtherFilesToCopy.csv (100%) create mode 100644 SitesToGenerate.csv delete mode 100644 docs/scrapers/Tendring.php delete mode 100644 docs/scrapers/argyllandbute.php delete mode 100644 docs/scrapers/bedford.php delete mode 100644 docs/scrapers/bexley.php delete mode 100644 docs/scrapers/blaby.php delete mode 100644 docs/scrapers/bradford.php delete mode 100644 docs/scrapers/bromley.php delete mode 100644 docs/scrapers/cambridge.php delete mode 100644 docs/scrapers/chester-le-street.php delete mode 100644 docs/scrapers/cityoflondon.php delete mode 100644 docs/scrapers/corby.php delete mode 100644 docs/scrapers/dartford.php delete mode 100644 docs/scrapers/doncaster.php delete mode 100644 docs/scrapers/durham.php delete mode 100644 docs/scrapers/eastcambs.php delete mode 100644 docs/scrapers/eastriding.php delete mode 100644 docs/scrapers/gloucester.php delete mode 100644 docs/scrapers/hambleton.php delete mode 100644 docs/scrapers/hammersmithandfulham.php delete mode 100644 docs/scrapers/horsham.php delete mode 100644 docs/scrapers/lambeth.php delete mode 100644 docs/scrapers/leeds.php delete mode 100644 docs/scrapers/manchester.php delete mode 100644 docs/scrapers/midsussex.php delete mode 100644 docs/scrapers/newcastle.php delete mode 100644 docs/scrapers/newham.php delete mode 100644 docs/scrapers/northeastderbyshire.php delete mode 100644 docs/scrapers/norwich.php delete mode 100644 docs/scrapers/oxford.php delete mode 100644 docs/scrapers/reading.php delete mode 100644 docs/scrapers/richmondshire.php delete mode 100644 docs/scrapers/rochford.php delete mode 100644 docs/scrapers/salford.php delete mode 100644 docs/scrapers/sandwell.php delete mode 100644 docs/scrapers/scottishborders.php delete mode 100644 docs/scrapers/sheffield.php delete mode 100644 docs/scrapers/stafford.php delete mode 100644 docs/scrapers/staffordshiremoorlands.php delete mode 100644 docs/scrapers/swindon.php delete mode 100644 docs/scrapers/threerivers.php delete mode 100644 docs/scrapers/torridge.php delete mode 100644 docs/scrapers/tunbridgewells.php delete mode 100644 docs/scrapers/valeofthewhitehorse.php delete mode 100644 docs/scrapers/wakefield.php delete mode 100644 docs/scrapers/westwiltshire.php delete mode 100644 docs/scrapers/worthing.php delete mode 100644 docs/scrapers/wycombe.php create mode 100755 generateCGIScripts.py rename python_scrapers/{CGITemplate => CGITemplate.py} (68%) delete mode 100644 python_scrapers/SitesToGenerate.csv delete mode 100755 python_scrapers/generateCGIScripts.py diff --git a/python_scrapers/OtherFilesToCopy.csv b/OtherFilesToCopy.csv similarity index 100% rename from python_scrapers/OtherFilesToCopy.csv rename to OtherFilesToCopy.csv diff --git a/SitesToGenerate.csv b/SitesToGenerate.csv new file mode 100644 index 0000000..219a5bd --- /dev/null +++ b/SitesToGenerate.csv @@ -0,0 +1,322 @@ +full_name,short_name,planning_email,feed_url,external,disabled,notes,base_url,python_module,parser_class,php_scraper +"Aberdeenshire Council",Aberdeenshire,,,,,,,Aberdeenshire,AberdeenshireParser, +"Allerdale Borough Council",Allerdale,,,,,,http://planning.allerdale.gov.uk/,ApplicationSearchServletParser,AllerdaleSearchParser, +"Alnwick District Council",Alnwick,,,,,,http://services.castlemorpeth.gov.uk:7777/,ApplicationSearchServletParser,AlnwickSearchParser, +"Amber Valley Borough Council","Amber Valley",,,,,,,AmberValley,AmberValleyParser, +"Angus Council",Angus,,,,,,http://planning.angus.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Argyll And Bute Council","Argyll and Bute",,,,,,http://www.argyll-bute.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Arun District Council",Arun,,,,,,"http://www.arun.gov.uk/iplanning/portal/page?_pageid=33,4139&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Aylesbury Vale District Council","Aylesbury Vale",,,,,,http://eplanning.aylesburyvaledc.gov.uk/tdc/,PublicAccess,PublicAccessParser, +"Babergh District Council",Babergh,,,,,,http://planning.babergh.gov.uk/dcdatav2//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"London Borough of Barking and Dagenham","Barking and Dagenham",,,,,,http://paweb.barking-dagenham.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Barnet",Barnet,," http://duncan.devel.disruptiveproactivity.com/Barnet.cgi?day={day}&month={month}&year={year}",1,,,http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Barnsley Metropolitan Borough Council",Barnsley,,,,,,,Barnsley,BarnsleyParser, +"Barrow Borough Council",Barrow,,,,,,http://localportal.barrowbc.gov.uk/,ApplicationSearchServletParser,BarrowSearchParser, +"Basildon District Council",Basildon,,,,,,http://planning.basildon.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Basingstoke and Deane Borough Council","Basingstoke and Deane",,,,,,http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Bassetlaw District Council",Bassetlaw,,,,,,http://www.bassetlaw.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BassetlawParser, +"Bath and North East Somerset",Bath,,,,,,http://planning.bathnes.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Bedford Borough Council",Bedford,,,,,,http://www.publicaccess.bedford.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Berwick-upon-Tweed Borough Council",Berwick,,,,,,,Berwick,BerwickParser, +"Bexley Council",Bexley,,,,,,http://publicaccess.bexley.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Birmingham City Council",Birmingham,,,,,,,Birmingham,BirminghamParser, +"Blaby District Council",Blaby,,,,,,http://www.blaby.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Blackburn with Darwen Borough Council",Blackburn,,http://duncan.devel.disruptiveproactivity.com/Blackburn.cgi?day={day}&month={month}&year={year},1,,,http://195.8.175.6/,PlanningExplorer,BlackburnParser, +"Blackpool Borough Council",Blackpool,,,,,,http://www2.blackpool.gov.uk/PlanningApplications/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BlackpoolParser, +"Bolsover District Council",Bolsover,,,,,,http://217.158.161.181/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Bolton Metropolitan Borough Council",Bolton,,,,,,http://www.planning.bolton.gov.uk/DCOnlineV2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Boston Borough Council",Boston,,,,,,http://195.224.121.199/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Bracknell Forest Borough Council","Bracknell Forest",,,,,,https://my.bracknell-forest.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Bradford Metropolitan District Council",Bradford,,,,,,http://www.planning4bradford.com/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Braintree District Council",Braintree,,http://duncan.devel.disruptiveproactivity.com/Braintree.cgi?day={day}&month={month}&year={year},1,,,http://planningapp.braintree.gov.uk/WAM1/weeklyApplications.do,WAM,BraintreeParser, +"Breckland Council",Breckland,,,,,,"http://wplan01.intranet.breckland.gov.uk:7778/portal/page?_pageid=33,30988&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"London Borough of Brent",Brent,,,,,,,Brent,BrentParser, +"Brentwood Borough Council",Brentwood,,/cgi-bin/Brentwood.cgi?day={day}&month={month}&year={year},,,,,,, +"Bridgend County Borough Council",Bridgend,,,,,,"http://eplan.bridgend.gov.uk:7778/portal/page?_pageid=55,31779&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Bridgnorth District Council",Bridgnorth,,,,,,http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,BridgnorthParser, +"Bristol City Council",Bristol,,,,,,http://e2eweb.bristol-city.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Broadland District Council",Broadland,,http://duncan.devel.disruptiveproactivity.com/Broadland.cgi?day={day}&month={month}&year={year},1,,,http://www.broadland.gov.uk/,PlanningExplorer,BroadlandParser, +"Broads Authority",Broads,,,,,,https://planning.broads-authority.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Bromley",Bromley,,,,,,http://planningaccess.bromley.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Broxbourne Borough Council",Broxbourne,,/cgi-bin/Broxbourne.cgi?day={day}&month={month}&year={year},,,,,,, +"Broxtowe Borough Council",Broxtowe,,,,,,,Broxtowe,BroxtoweParser, +"Buckinghamshire County Council",Buckinghamshire,,,,,,http://www.bucksplanning.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Bury Metropolitan Borough Council",Bury,,,,,,http://e-planning.bury.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"St Edmundsbury Borough Council","Bury St Edmunds",,,,,,http://www.stedmundsbury.gov.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Caerphilly County Borough Council",Caerphilly,,,,,,http://publicaccess.caerphilly.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Cairngorms National Park",Cairngorms,,,,,,,Cairngorms,CairngormsParser, +"Calderdale Council",Calderdale,,,,,,,Calderdale,CalderdaleParser, +"Cambridge City Council",Cambridge,,,,,,http://www.cambridge.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Cambridgeshire County Council",Cambridgeshire,,,,,,http://planapps2.cambridgeshire.gov.uk/DCWebPages/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"London Borough of Camden",Camden,,,,,,http://planningrecords.camden.gov.uk/,PlanningExplorer,CamdenParser, +"Cannock Chase District Council","Cannock Chase",,,,,,http://planning.cannockchasedc.com/swiftlg/apas/run/wphappcriteria.display,SwiftLG,SwiftLGParser, +"Canterbury City Council",Canterbury,,,,,,http://planning.canterbury.gov.uk/scripts/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,CanterburyParser, +"Caradon District Council",Caradon,,,,,,http://publicaccess.caradon.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Carlisle City Council",Carlisle,,,,,,http://planning.carlisle.gov.uk/PlanData/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Carmarthenshire County Council",Carmarthenshire,,,,,,,Carmarthenshire,CarmarthenshireParser, +"Castle Point Borough Council","Castle Point",,,,,,"http://planning.castlepoint.gov.uk/portal/page?_pageid=35,38205&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Charnwood Borough Council",Charnwood,,http://duncan.devel.disruptiveproactivity.com/Charnwood.cgi?day={day}&month={month}&year={year},1,,,http://portal.charnwoodbc.gov.uk/,PlanningExplorer,CharnwoodParser, +"Chelmsford Borough Council",Chelmsford,,,,,,http://web1.chelmsfordbc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Cheltenham Borough Council",Cheltenham,,,,,,,,,cheltenham +"Cherwell District Council",Cherwell,,,,,,http://cherweb.cherwell-dc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Chester-le-Street District Council",Chester-le-Street,,,,,,http://planning.chester-le-street.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Chichester District Council",Chichester,,,,,,http://pa.chichester.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Chiltern District Council",Chiltern,,,,,,https://isa.chiltern.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Chorley Borough Council",Chorley,,,,,,http://planning.chorley.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Christchurch Borough Council",Christchurch,,/cgi-bin/Christchurch.cgi?day={day}&month={month}&year={year},,,,,,, +"City of London","City of London",,,,,,http://www.planning.cityoflondon.gov.uk/tdc/,PublicAccess,PublicAccessParser, +"Colchester Borough Council",Colchester,,http://duncan.devel.disruptiveproactivity.com/Colchester.cgi?day={day}&month={month}&year={year},1,,,http://www.planning.colchester.gov.uk/WAM/weeklyApplications.do,WAM,BraintreeParser, +"Comhairle Nan Eilean Siar","Comhairle Nan Eilean Siar",,,,,,http://planning.cne-siar.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Conwy County Borough Council",Conwy,,,,,,http://www.conwy.gov.uk/,PlanningExplorer,ConwyParser, +"Corby Borough Council",Corby,,,,,,https://publicaccess.corby.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Cornwall County Council",Cornwall,,,,,,http://planapps.cornwall.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Coventry City Council",Coventry,,,,,,http://planning.coventry.gov.uk/,ApplicationSearchServletParser,CoventrySearchParser, +"Craven District Council",Craven,,,,,,http://www.planning.cravendc.gov.uk/fastweb/,FastWeb,FastWeb, +"Crewe and Nantwich Borough Council","Crewe and Nantwich",,,,,,http://portal.crewe-nantwich.gov.uk/,PlanningExplorer,CreweParser, +"London Borough of Croydon",Croydon,,,,,,http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Cumbria County Council",Cumbria,,,,,,http://217.114.50.149:7778/ePlanningOPS/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"Dacorum Borough Council",Dacorum,,/cgi-bin/Dacorum.cgi?day={day}&month={month}&year={year},,,,,,, +"Dartford Borough Council",Dartford,,,,,,http://publicaccess.dartford.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Daventry District Council",Daventry,,,,,,http://62.231.149.150/swiftlg/apas/run/wphappcriteria.display,SwiftLG,SwiftLGParser, +"Denbighshire County Council",Denbighshire,,,,,,http://planning.denbighshire.gov.uk/,ApplicationSearchServletParser,DenbighshireSearchParser, +"Derby City Council",Derby,,,,,,http://eplanning.derby.gov.uk/acolnet/planningpages02/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Doncaster Metropolitan Borough Council",Doncaster,,,,,,http://local.doncaster.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Dorset County Council",Dorset,,,,,,http://195.49.180.81/ePlanning/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"Dudley Metropolitan Borough Council",Dudley,,,,,,http://www2.dudley.gov.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Dundee City Council",Dundee,,,,,,http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Durham City Council",Durham,,,,,,http://publicaccess.durhamcity.gov.uk/publicaccess/dc/,PublicAccess,PublicAccessParser, +"Ealing Council",Ealing,,,,,,http://www.pam.ealing.gov.uk/,ApplicationSearchServletParser,EalingSearchParser, +"Easington District Council",Easington,,,,,,http://planning.easington.gov.uk/,ApplicationSearchServletParser,EasingtonSearchParser, +"Eastbourne Borough Council",Eastbourne,,,,,,,Eastbourne,EastbourneParser, +"East Cambridgeshire District Council","East Cambridgeshire",,,,,,http://pa.eastcambs.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"East Devon District Council","East Devon",,,,,,http://planning.eastdevon.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"East Dorset District Council","East Dorset",,,,,,http://193.243.228.16/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"East Hampshire District Council","East Hampshire",,,,,,http://planningdevelopment.easthants.gov.uk/dconline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"East Hertfordshire District Council","East Herts",,,,,,http://e-services.eastherts.gov.uk/swiftlg/apas/run/,SwiftLG,EastHertsParser, +"Eastleigh Borough Council",Eastleigh,,,,,,http://www.eastleigh.gov.uk/FastWEB/,FastWeb,FastWeb, +"East Lindsey District Council","East Lindsey",,,,,,http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"East Lothian Council","East Lothian",,http://duncan.devel.disruptiveproactivity.com/East%20Lothian.cgi?day={day}&month={month}&year={year},1,,,http://www.planning.eastlothian.gov.uk/WAM/pas/searchApplications.do,WAM,WAMParser, +"East Northamptonshire Council","East Northants",,,,,,http://publicaccesssrv.east-northamptonshire.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"East Riding of Yorkshire Council","East Riding",,,,,,http://www.eastriding.gov.uk/PublicAccess731c/tdc/,PublicAccess,PublicAccessParser, +"East Staffordshire District Council","East Staffs",,http://duncan.devel.disruptiveproactivity.com/East%20Staffs.cgi?day={day}&month={month}&year={year},1,,,http://www2.eaststaffsbc.gov.uk/,PlanningExplorer,EastStaffsParser, +"Eden District Council",Eden,,,,,,http://eforms.eden.gov.uk/fastweb/,FastWeb,FastWeb, +"The City of Edinburgh Council",Edinburgh,,,,,,http://citydev-portal.edinburgh.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Ellesmere Port and Neston Borough Council","Ellesmere Port",,,,,,"http://ocella.epnbc.gov.uk/portal/page?_pageid=33,38205&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Elmbridge Borough Council",Elmbridge,,,,,,http://www2.elmbridge.gov.uk/Planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry,Planet,PlanetParser, +"London Borough of Enfield",Enfield,,,,,,http://forms.enfield.gov.uk/swiftlg/apas/run/wphappcriteria.display,SwiftLG,SwiftLGParser, +"Epping Forest District Council","Epping Forest",,http://duncan.devel.disruptiveproactivity.com/Epping%20Forest.cgi?day={day}&month={month}&year={year},1,,,http://plan1.eppingforestdc.gov.uk/,PlanningExplorer,EppingForestParser, +"Epsom and Ewell Borough Council","Epsom and Ewell",,,,,,http://eplanning.epsom-ewell.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Exeter City Council",Exeter,,,,,,http://pub.exeter.gov.uk/scripts/Acolnet/dataonlineplanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Exmoor National Park",Exmoor,,,,,,,Exmoor,ExmoorParser, +"Fareham Borough Council",Fareham,,,,,,"http://eocella.fareham.gov.uk/portal/page?_pageid=33,31754&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Fenland District Council",Fenland,,,,,,http://www.fenland.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Fife Council",Fife,,,,,,,Fife,FifeParser, +"Flintshire County Council",Flintshire,,,,,,,Flintshire,FlintshireParser, +"Forest Heath District Council","Forest Heath",,,,,,http://195.171.177.73/,PlanningExplorer,ForestHeathParser, +"Forest of Dean District Council","Forest of Dean",,,,,,,ForestOfDean,ForestOfDeanParser, +"Fylde Borough Council",Fylde,,,,,,http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BoltonLikeParser, +"Gateshead Metropolitan Borough Council",Gateshead,,,,,,http://planning.gateshead.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Gedling Borough Council",Gedling,,,,,,http://publicaccess.gedling.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Glasgow City Council",Glasgow,,/cgi-bin/Glasgow.cgi?day={day}&month={month}&year={year},,,,,,, +"Gloucester City Council",Gloucester,,,,,,http://www.glcstrplnng11.co.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Gloucestershire County Council",Gloucestershire,,,,,,http://www.glcstrplnng11.co.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Gosport Borough Council",Gosport,,,,,,,Gosport,GosportParser, +"Gravesham Borough Council",Gravesham,,,,,,http://plan.gravesham.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Great Yarmouth Borough Council","Great Yarmouth",,,,,,http://planning.great-yarmouth.gov.uk/portal/page/portal/plan/weekly,Ocella,OcellaParser, +"London Borough of Greenwich",Greenwich,,,,,,http://onlineplanning.greenwich.gov.uk/acolnet/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,GreenwichParser, +"Guildford Borough Council",Guildford,,,,,,http://www.guildford.gov.uk/DLDC_Version_2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Cyngor Gwynedd Council",Gwynedd,,,,,,http://www.gwynedd.gov.uk/swiftlg/apas/run/,SwiftLG,GwyneddParser, +"London Borough of Hackney",Hackney,,,,,,http://www.hackney.gov.uk/servapps/,PlanningExplorer,HackneyParser, +"Halton Borough Council",Halton,,,,,,,Halton,HaltonParser, +"Hambleton District Council",Hambleton,,,,,,http://planning.hambleton.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough Of Hammersmith and Fulham","Hammersmith and Fulham",,,,,,http://www.apps.lbhf.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Hampshire County Council",Hampshire,,,,,,,Hampshire,HampshireParser, +"Harborough District Council",Harborough,,,,,,http://pa.harborough.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Haringey Council",Haringey,,http://duncan.devel.disruptiveproactivity.com/Haringey.cgi?day={day}&month={month}&year={year},1,,,http://www.planningservices.haringey.gov.uk/,ApplicationSearchServletParser,HaringeySearchParser, +"Harlow Council",Harlow,,,,,,http://planning.harlow.gov.uk/DLDC_Version_2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,HarlowParser, +"Harrogate Borough Council",Harrogate,,,,,,http://publicaccess.harrogate.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Harrow",Harrow,,,,,,,Harrow,HarrowParser, +"Hart District Council",Hart,,,,,,http://publicaccess.hart.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Hartlepool Borough Council",Hartlepool,,,,,,http://eforms.hartlepool.gov.uk:7777/,ApplicationSearchServletParser,HartlepoolSearchParser, +"Hastings Borough Council",Hastings,,,,,,,Hastings,HastingsParser, +"Havant Borough Council",Havant,,,,,,http://www3.havant.gov.uk/scripts/planningpages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"London Borough of Havering",Havering,,,,,,"http://planning.havering.gov.uk/portal/page?_pageid=33,1026&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Herefordshire Council",Herefordshire,,,,,,,Herefordshire,HerefordshireParser, +"Hertsmere Borough Council",Hertsmere,,,,,,http://www2.hertsmere.gov.uk/ACOLNET/DCOnline//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BoltonLikeParser, +"High Peak Borough Council","High Peak",,,,,,http://planning.highpeak.gov.uk/,ApplicationSearchServletParser,HighPeakSearchParser, +"Highland Council",Highland,,/cgi-bin/Highland.cgi?day={day}&month={month}&year={year},,,,,,, +"London Borough of Hillingdon",Hillingdon,,,,,,"http://w09.hillingdon.gov.uk/portal/page?_pageid=33,82093&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Hinckley and Bosworth Borough Council","Hinckley and Bosworth",,,,,,https://cx.hinckley-bosworth.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Horsham District Council",Horsham,,,,,,http://publicaccess.horsham.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Hounslow",Hounslow,,,,,,,Hounslow,HounslowParser, +"Huntingdonshire District Council",Huntingdonshire,,,,,,http://planning.huntsdc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Isle of Wight Council","Isle of Wight",,,,,,,IsleOfWight,IsleOfWightParser, +"London Borough of Islington",Islington,,,,,,https://www.islington.gov.uk/onlineplanning/apas/run/,SwiftLG,IslingtonParser, +"Kennet District Council",Kennet,,http://duncan.devel.disruptiveproactivity.com/Kennet.cgi?day={day}&month={month}&year={year},1,,,http://mvm-planning.kennet.gov.uk/,PlanningExplorer,KennetParser, +"The Royal Borough of Kensington and Chelsea","Kensington and Chelsea",,,,,,,Kensington,KensingtonParser, +"Kerrier District Council",Kerrier,,,,,,http://publicaccess.kerrier.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Kingston upon Hull City Council","Kingston upon Hull",,,,,,,,,hull +"Royal Borough of Kingston upon Thames","Kingston upon Thames",,,,,,,KingstonUponThames,KingstonParser, +"Kirklees Council",Kirklees,,,,,,,Kirklees,KirkleesParser, +"Knowsley Council",Knowsley,,,,,,http://publicaccess.knowsley.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Lake District National Park Authority","Lake District",,,,,,http://www.lake-district.gov.uk/swiftlg/apas/run/,SwiftLG,LakeDistrictParser, +"London Borough of Lambeth",Lambeth,,,,,,http://planning.lambeth.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Lancaster City Council",Lancaster,,,,,,http://planapps.lancaster.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Leeds City Council",Leeds,,,,,,http://planningapplications.leeds.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Leicestershire County Council",Leicestershire,,,,,,,Leicestershire,LeicestershireParser, +"Lewes District Council",Lewes,,,,,,http://planning.lewes.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Lewisham",Lewisham,,,,,,http://acolnet.lewisham.gov.uk/lewis-xslpagesdc/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,LewishamParser, +"Lichfield District Council",Lichfield,,http://www2.lichfielddc.gov.uk/planning/alerts.php?day={day}&month={month}&year={year},1,,,,Lichfield,LichfieldParser, +"Lincoln City Council",Lincoln,,,,,,http://online.lincoln.gov.uk/,PlanningExplorer,LincolnParser, +"Lincolnshire County Council",Lincolnshire,,,,,,http://eplanning.lincolnshire.gov.uk/ePlanning/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"Liverpool City Council",Liverpool,,http://duncan.devel.disruptiveproactivity.com/Liverpool.cgi?day={day}&month={month}&year={year},1,,,http://www.liverpool.gov.uk/,PlanningExplorer,LiverpoolParser, +"Luton Borough Council",Luton,,,,,,http://www.eplan.luton.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Macclesfield Borough Council",Macclesfield,,,,,,http://www.planportal.macclesfield.gov.uk/swiftlg/apas/run/,SwiftLG,MacclesfieldParser, +"Maidstone Borough Council",Maidstone,,,,,,http://digitalmaidstone.co.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Maldon District Council",Maldon,,,,,,http://forms.maldon.gov.uk:8080/PlanApp/jsp/searchPlanApp-action.do,Maldon,MaldonParser, +"Malvern Hills District Council","Malvern Hills",,,,,,http://public.malvernhills.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Manchester City Council",Manchester,,,,,,http://www.publicaccess.manchester.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Mansfield District Council",Mansfield,,,,,,http://www.mansfield.gov.uk/Fastweb/,FastWeb,FastWeb, +"Medway Council",Medway,,,,,,,Medway,MedwayParser, +"Melton Borough Council",Melton,,,,,,http://publicaccess.melton.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Mendip District Council",Mendip,,,,,,,Mendip,MendipParser, +"London Borough of Merton",Merton,,,,,,http://planning.merton.gov.uk/,PlanningExplorer,MertonParser, +"Mid Bedfordshire District Council","Mid Beds",,,,,,http://www.midbeds.gov.uk/acolnetDC/DCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,MidBedsParser, +"Mid Devon District Council","Mid Devon",,,,,,http://planning.middevon.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Middlesbrough Borough Council",Middlesbrough,,,,,,"http://planserv.middlesbrough.gov.uk/portal/page?_pageid=33,4178&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"Mid Suffolk District Council","Mid Suffolk",,,,,,http://planning.midsuffolk.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Mid Sussex District Council","Mid Sussex",,,,,,http://dc.midsussex.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Milton Keynes Council","Milton Keynes",,,,,,http://publicaccess.milton-keynes.gov.uk/tdc/,PublicAccess,PublicAccessParser, +"Mole Valley District Council","Mole Valley",,,,,,http://www.molevalley.gov.uk/swiftlg/apas/run/,SwiftLG,MoleValleyParser, +"Moray Council",Moray,,,,,,http://public.moray.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Newcastle City Council",Newcastle,,,,,,http://gisccs013.newcastle.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Newcastle-under-Lyme Borough Council",Newcastle-under-Lyme,,,,,,http://publicaccess.newcastle-staffs.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Newport City Council",Newport,,/cgi-bin/Newport.cgi?day={day}&month={month}&year={year},,,,,,, +"New Forest District Council","New Forest DC",,,,,,http://web3.newforest.gov.uk/planningonline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BoltonLikeParser, +"New Forest National Park","New Forest NP",,,,,,http://web01.newforestnpa.gov.uk/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,BoltonLikeParser, +"London Borough Of Newham",Newham,,,,,,http://pacaps.newham.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"North Ayrshire Council","North Ayrshire",,/cgi-bin/NorthAyrshire.cgi?day={day}&month={month}&year={year},,,,,,, +"North East Derbyshire District Council","North East Derbyshire",,,,,,http://planapps-online.ne-derbyshire.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"North East Lincolnshire Council","North East Lincolnshire",,,,,,"http://planning.nelincs.gov.uk/portal/page?_pageid=33,64104&_dad=portal&_schema=PORTAL",Ocella,OcellaParser, +"North Hertfordshire District Council","North Hertfordshire",,,,,,http://www.north-herts.gov.uk/dcdataonline/Pages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,AcolnetParser, +"North Lincolnshire Council","North Lincolnshire",,,,,,http://www.planning.northlincs.gov.uk/planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry,Planet,PlanetParser, +"North Somerset Council","North Somerset",,http://duncan.devel.disruptiveproactivity.com/North%20Somerset.cgi?day={day}&month={month}&year={year},1,,,http://wam.n-somerset.gov.uk/MULTIWAM/weeklyApplications.do,WAM,BraintreeParser, +"North Tyneside Council","North Tyneside",,,,,,http://publicaccess.northtyneside.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Northumberland County Council",Northumberland,,,,,,http://planning.northumberland.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"North Warwickshire Borough Council","North Warwickshire",,,,,,http://planning.northwarks.gov.uk/,ApplicationSearchServletParser,NorthWarksSearchParser, +"North Wiltshire District Council","North Wiltshire",,,,,,http://planning.northwilts.gov.uk/DCOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"North Yorkshire County Council","North Yorkshire",,,,,,https://onlineplanningregister.northyorks.gov.uk/Online%20Register/PlanAppList.asp,Shropshire,NorthYorkshireParser, +"Norwich City Council",Norwich,,,,,,http://publicaccess.norwich.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Nottingham City Council",Nottingham,,http://duncan.devel.disruptiveproactivity.com/Nottingham.cgi?day={day}&month={month}&year={year},1,,,http://plan4.nottinghamcity.gov.uk/WAM/pas/searchApplications.do,WAM,WAMParser, +"North West Leicestershire District Council","NW Leicestershire",,,,,,http://paccess.nwleics.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"The Borough of Oadby and Wigston","Oadby and Wigston",,,,,,http://pa.owbc.net/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Oldham Metropolitan Borough Council",Oldham,,,,,,http://planning.oldham.gov.uk/planning/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,OldhamParser, +"Olympic Delivery Authority",Olympics,,,,,,http://planning.london2012.com/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Oswestry Borough Council",Oswestry,,,,,,http://193.114.205.78/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Oxford City Council",Oxford,,,,,,http://uniformpublicaccess.oxford.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Pembrokeshire County Council",Pembrokeshire,,,,,,http://planning.pembrokeshire.gov.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Pendle Borough Council",Pendle,,,,,,http://bopdoccip.pendle.gov.uk/PlanApp/jsp/searchPlanApp-action.do,Maldon,PendleParser, +"Perth and Kinross Council",Perthshire,,,,,,http://193.63.61.22/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Peterborough City Council",Peterborough,,,,,,http://193.61.85.10/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Poole Borough Council",Poole,,http://duncan.devel.disruptiveproactivity.com/Poole.cgi?day={day}&month={month}&year={year},1,,,http://wam.boroughofpoole.com/WAM/pas/searchApplications.do,WAM,PooleParser, +"Portsmouth City Council",Portsmouth,,,,,,http://planning.portsmouth.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Reading Borough Council",Reading,,,,,,http://planning.reading.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Redbridge",Redbridge,,/cgi-bin/Redbridge.cgi?day={day}&month={month}&year={year},,,,,,, +"Redditch Borough Council",Redditch,,,,,,http://access.redditchbc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Reigate and Banstead Borough Council",,"Reigate and Banstead",,,,,,,,reigateandbanstead +"Renfrewshire Council",Renfrewshire,,,,,,http://planning.renfrewshire.gov.uk/acolnetDCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,BoltonLikeParser, +"London Borough of Richmond upon Thames",Richmond,,,,,,,,,richmond +"Richmondshire District Council",Richmondshire,,,,,,http://publicaccess.richmondshire.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Rochdale Metropolitan Borough Council",Rochdale,,,,,,http://www.rochdale.gov.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Rochford District Council",Rochford,,,,,,http://www.rochford.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Rother District Council",Rother,,http://duncan.devel.disruptiveproactivity.com/Rother.cgi?day={day}&month={month}&year={year},1,,,http://www.planning.rother.gov.uk/WAM/pas/searchApplications.do,WAM,WAMParser, +"Rushmoor Borough Council",Rushmoor,,,,,,http://pa-dc.rushmoor.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Rutland County Council",Rutland,,,,,,http://www.rutland.gov.uk/wellandplanning/searchparam.asp,RutlandLike,RutlandLikeParser, +"Ryedale District Council",Ryedale,,,,,,http://www.ryedale.gov.uk/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry,Planet,PlanetParser, +"Salford City Council",Salford,,,,,,http://publicaccess.salford.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Sandwell Metropolitan Borough Council",Sandwell,,,,,,http://webcaps.sandwell.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Scarborough Borough Council",Scarborough,,,,,,http://planning.scarborough.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Scottish Borders Council","Scottish Borders",,,,,,http://eplanning.scotborders.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Selby District Council",Selby,,,,,,http://publicaccess.selby.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Sevenoaks District Council",Sevenoaks,,,,,,http://publicaccess.sevenoaks.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Sheffield City Council",Sheffield,,,,,,http://planning.sheffield.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Shetland Islands Council","Shetland Islands",,,,,,,Shetland,ShetlandParser, +"Shrewsbury and Atcham Borough Council",Shrewsbury,,http://duncan.devel.disruptiveproactivity.com/Shrewsbury.cgi?day={day}&month={month}&year={year},1,,,http://www2.shrewsbury.gov.uk/,PlanningExplorer,ShrewsburyParser, +"Shropshire County Council",Shropshire,,,,,,http://planning.shropshire.gov.uk/PlanAppList.asp,Shropshire,ShropshireParser, +"Slough Borough Council",Slough,,,,,,http://www2.slough.gov.uk/swiftlg/apas/run/,SwiftLG,SloughParser, +"Snowdonia National Park Authority",Snowdonia,,,,,,http://www.snowdonia-npa.gov.uk/swiftlg/apas/run/,SwiftLG,SwiftLGParser, +"Solihull Metropolitan Borough Council",Solihull,,,,,,,Solihull,SolihullParser, +"Somerset County Council",Somerset,,,,,,http://webapp1.somerset.gov.uk/ePlanning/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"Southampton City Council",Southampton,,,,,,http://publicaccess.southampton.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"South Bedfordshire District Council","South Bedfordshire",,,,,,http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,AcolnetParser, +"South Bucks District Council","South Bucks",,,,,,http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"South Gloucestershire Council","South Gloucestershire",,http://duncan.devel.disruptiveproactivity.com/South%20Gloucestershire.cgi?day={day}&month={month}&year={year},1,,,http://planning.southglos.gov.uk/WAM/pas/WeeklyApplications.do,WAM,BraintreeParser, +"South Lakeland District Council","South Lakeland",,,,,,http://www.southlakeland.gov.uk/fastweb/,FastWeb,FastWeb, +"South Norfolk Council","South Norfolk",,,,,,http://planning.south-norfolk.gov.uk/,PlanningExplorer,SouthNorfolkParser, +"South Northamptonshire Council","South Northamptonshire",,,,,,http://snc.planning-register.co.uk/PlanAppList.asp,Shropshire,SouthNorthamptonshireParser, +"South Oxfordshire District Council","South Oxfordshire",,/cgi-bin/SouthOxfordshire.cgi?day={day}&month={month}&year={year},,,,,,, +"South Ribble Borough Council","South Ribble",,,,,,http://publicaccess.southribble.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"South Shropshire District Council","South Shropshire",,http://duncan.devel.disruptiveproactivity.com/South%20Shropshire.cgi?day={day}&month={month}&year={year},1,,,http://194.201.44.102/,PlanningExplorer,SouthShropshireParser, +"South Somerset District Council","South Somerset",,/cgi-bin/SouthSomerset.cgi?day={day}&month={month}&year={year},,,,,,, +"South Staffordshire Council","South Staffordshire",,,,,,https://services.sstaffs.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"South Tyneside Council","South Tyneside",,http://duncan.devel.disruptiveproactivity.com/South%20Tyneside.cgi?day={day}&month={month}&year={year},1,,,http://poppy.southtyneside.gov.uk/,PlanningExplorer,SouthTynesideParser, +"London Borough of Southwark",Southwark,,,,,,http://planningonline.southwarksites.com/planningonline2/AcolNetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,SouthwarkParser, +"Spelthorne Borough Council",Spelthorne,,,,,,http://phoenix.spelthorne.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Stafford Borough Council",Stafford,,,,,,http://www3.staffordbc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Staffordshire Moorlands District Council","Staffordshire Moorlands",,,,,,,,,staffordshiremoorlands +"Stevenage Borough Council",Stevenage,,,,,,http://publicaccess.stevenage.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"St Helens Council","St Helens",,,,,,http://212.248.225.150:8080/,ApplicationSearchServletParser,StHelensSearchParser, +"Stirling Council",Stirling,,,,,,http://planpub.stirling.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Stockport Metropolitan Borough Council",Stockport,,,,,,http://planning.stockport.gov.uk/PlanningData/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Stockton-On-Tees Borough Council",Stockton-On-Tees,,,,,,http://www.developmentcontrol.stockton.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Stratford-on-Avon District Council",Stratford,,,,,,http://apps.stratford.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Suffolk County Council",Suffolk,,,,,,http://atrium.suffolkcc.gov.uk/ePlanning/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"Suffolk Coastal District Council","Suffolk Coastal",,,,,,http://apps3.suffolkcoastal.gov.uk/DCDataV2/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,AcolnetParser, +"Sunderland City Council",Sunderland,,,,,,http://www.sunderland.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Surrey Heath Borough Council","Surrey Heath",,,,,,https://www.public.surreyheath-online.gov.uk/whalecom60b1ef305f59f921/whalecom0/Scripts/PlanningPagesOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch,AcolnetParser,SurreyHeathParser, +"London Borough of Sutton",Sutton,,,,,,http://213.122.180.105/FASTWEB/,FastWeb,FastWeb, +"Swansea City and County",Swansea,,http://duncan.devel.disruptiveproactivity.com/Swansea.cgi?day={day}&month={month}&year={year},1,,,http://www2.swansea.gov.uk/,PlanningExplorer,SwanseaParser, +"Swindon Borough Council",Swindon,,,,,,http://194.73.99.13/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Tamworth Borough Council",Tamworth,,,,,,http://80.1.64.91/,PlanningExplorer,TamworthParser, +"Teignbridge District Council",Teignbridge,,,,,,http://213.152.63.161/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Tendring District Council",Tendring,,,,,,http://195.99.151.54/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Test Valley Borough Council","Test Valley",,,,,,http://publicaccess.testvalley.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Tewkesbury Borough Council",Tewkesbury,,,,,,http://planning.tewkesbury.gov.uk/Planet/ispforms.asp?serviceKey=07WCC04163103430,Planet,PlanetParser, +"Three Rivers District Council","Three Rivers",,,,,,http://www2.threerivers.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Tonbridge and Malling Borough Council",Tonbridge,,,,,,http://publicaccess.tmbc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Torbay Council",Torbay,,,,,,http://www.torbay.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Torridge District Council",Torridge,,,,,,http://www.torridge.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"London Borough of Tower Hamlets","Tower Hamlets",,,,,,http://194.201.98.213/WAM/weeklyApplications.do,WAM,BraintreeParser, +"Trafford Council",Trafford,,http://duncan.devel.disruptiveproactivity.com/Trafford.cgi?day={day}&month={month}&year={year},1,,,http://planning.trafford.gov.uk/,PlanningExplorer,TraffordParser, +"Tunbridge Wells Borough Council","Tunbridge Wells",,,,,,http://secure.tunbridgewells.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Uttlesford District Council",Uttlesford,,,,,,http://planning.uttlesford.gov.uk/portal/page/portal/plan/weekly,Ocella,OcellaParser, +"Vale of the White Horse District Council","Vale of the White Horse",,,,,,http://planning.whitehorsedc.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Vale Royal Borough Council","Vale Royal",,,,,,http://pa.valeroyal.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Wakefield Metropolitan District Council",Wakefield,,,,,,http://planning.wakefield.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Waltham Forest Council","Waltham Forest",,,,,,http://planning.walthamforest.gov.uk/,PlanningExplorer,WalthamForestParser, +"Wansbeck District Council",Wansbeck,,"http://www.wansbeck.gov.uk/planning.cfm?day={day}&month={month}&year={year} ",1,,,,,, +"Warrington Borough Council",Warrington,,,,,,http://212.248.237.123:8080/swiftlg/apas/run/wphappcriteria.display,SwiftLG,SwiftLGParser, +"Watford Borough Council",Watford,,,,,,http://ww3.watford.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Waveney District Council",Waveney,,,,,,http://publicaccess.waveney.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Wealden District Council",Wealden,,,,,,,,,wealden +"Wear Valley District Council","Wear Valley",,,,,,http://planning.wearvalley.gov.uk/,ApplicationSearchServletParser,WearValleySearchParser, +"Wellingborough Borough Council",Wellingborough,,,,,,http://planning.wellingborough.gov.uk/,ApplicationSearchServletParser,WellingboroughSearchParser, +"Welwyn-Hatfield District Council",Welwyn-Hatfield,,,,,,https://fastweb.welhat.gov.uk/,FastWeb,FastWeb, +"West Berkshire Council","West Berkshire",,,,,,http://ww2.westberks.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"West Dorset District Council","West Dorset",,,,,,,WestDorset,WestDorsetParser, +"West Lancashire District Council","West Lancashire",,,,,,http://publicaccess.westlancsdc.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Westminster City Council",Westminster,,http://duncan.devel.disruptiveproactivity.com/Westminster.cgi?day={day}&month={month}&year={year},1,,,,Westminster,WestminsterParser, +"Kings Lynn and West Norfolk Borough Council","West Norfolk",,,,,,http://online.west-norfolk.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"West Oxfordshire District Council","West Oxfordshire",,,,,,http://planning.westoxon.gov.uk/,PlanningExplorer,WestOxfordshireParser, +"West Sussex County Council","West Sussex",,,,,,http://eplanning.westsussex.gov.uk/ePlanningOPS/loadResults.do,AtriumePlanning,AtriumePlanningParser, +"West Wiltshire District Council","West Wiltshire",,,,,,http://planning.westwiltshire.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Weymouth and Portland Borough Council","Weymouth and Portland",,,,,,,Weymouth,WeymouthParser, +"Wiltshire County Council",Wiltshire,,,,,,,,,wiltshire +"Winchester City Council",Winchester,,,,,,http://win2padmz.winchester.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Woking Borough Council",Woking,,,,,,http://caps.woking.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Wolverhampton City Council",Wolverhampton,,,,,,http://planningonline.wolverhampton.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, +"Worcester City Council",Worcester,,,,,,http://www.worcester.gov.uk:8080/planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry,Planet,PlanetParser, +"Worthing Borough Council",Worthing,,,,,,http://planning.worthing.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Wycombe District Council",Wycombe,,,,,,http://planningpa.wycombe.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, +"Wyre Forest District Council","Wyre Forest",,,,,,http://www.wyreforest.gov.uk/fastweb/,FastWeb,FastWeb, +"City of York Council",York,,,,,,http://planning.york.gov.uk/PublicAccess/tdc/,PublicAccess,PublicAccessParser, diff --git a/deployment_script_common b/deployment_script_common index f9dad1c..f01e490 100644 --- a/deployment_script_common +++ b/deployment_script_common @@ -36,10 +36,20 @@ cp -R data $BACKUP_DIRECTORY; ); echo "Done" echo +echo "Enter mysql db name:" +read MYSQL_DB_NAME +echo $MYSQL_DB_NAME +export $MYSQL_DB_NAME +echo "Enter mysql username:" +read MYSQL_USERNAME +export $MYSQL_USERNAME +echo "Enter mysql password:" +read MYSQL_PASSWORD +export $MYSQL_PASSWORD echo "Generating python scrapers" # Generate the python cgi files -(cd python_scrapers; ./generateCGIScripts.py) +./generateCGIScripts.py echo "Done generating python scrapers" # Copy the new versions of docs, cgi-bin and tools to PLANNING_ROOT diff --git a/docs/scrapers/Tendring.php b/docs/scrapers/Tendring.php deleted file mode 100644 index c70f284..0000000 --- a/docs/scrapers/Tendring.php +++ /dev/null @@ -1,32 +0,0 @@ - diff --git a/docs/scrapers/argyllandbute.php b/docs/scrapers/argyllandbute.php deleted file mode 100644 index feb8931..0000000 --- a/docs/scrapers/argyllandbute.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/bedford.php b/docs/scrapers/bedford.php deleted file mode 100644 index 12dd915..0000000 --- a/docs/scrapers/bedford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Bedford Borough Council"); - $smarty->assign("authority_short_name", "Bedford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/bexley.php b/docs/scrapers/bexley.php deleted file mode 100644 index 450c06b..0000000 --- a/docs/scrapers/bexley.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/blaby.php b/docs/scrapers/blaby.php deleted file mode 100644 index d2f81af..0000000 --- a/docs/scrapers/blaby.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/bradford.php b/docs/scrapers/bradford.php deleted file mode 100644 index 9a002c7..0000000 --- a/docs/scrapers/bradford.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/bromley.php b/docs/scrapers/bromley.php deleted file mode 100644 index 0ac1a42..0000000 --- a/docs/scrapers/bromley.php +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/docs/scrapers/cambridge.php b/docs/scrapers/cambridge.php deleted file mode 100644 index 5a75004..0000000 --- a/docs/scrapers/cambridge.php +++ /dev/null @@ -1,51 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Cambridge City Council"); - $smarty->assign("authority_short_name", "Cambridge"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/chester-le-street.php b/docs/scrapers/chester-le-street.php deleted file mode 100644 index 12a302b..0000000 --- a/docs/scrapers/chester-le-street.php +++ /dev/null @@ -1,49 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Chester-le-Street District Council"); - $smarty->assign("authority_short_name", "Chester-le-Street"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/cityoflondon.php b/docs/scrapers/cityoflondon.php deleted file mode 100644 index 5c262ad..0000000 --- a/docs/scrapers/cityoflondon.php +++ /dev/null @@ -1,32 +0,0 @@ - diff --git a/docs/scrapers/corby.php b/docs/scrapers/corby.php deleted file mode 100644 index 89699bd..0000000 --- a/docs/scrapers/corby.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/dartford.php b/docs/scrapers/dartford.php deleted file mode 100644 index cbbb224..0000000 --- a/docs/scrapers/dartford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Dartford Borough Council"); - $smarty->assign("authority_short_name", "Dartford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/doncaster.php b/docs/scrapers/doncaster.php deleted file mode 100644 index 4d59499..0000000 --- a/docs/scrapers/doncaster.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Doncaster Metropolitan Borough Council"); - $smarty->assign("authority_short_name", "Doncaster"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/durham.php b/docs/scrapers/durham.php deleted file mode 100644 index bb736ad..0000000 --- a/docs/scrapers/durham.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Durham City Council"); - $smarty->assign("authority_short_name", "Durham"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/eastcambs.php b/docs/scrapers/eastcambs.php deleted file mode 100644 index 8213795..0000000 --- a/docs/scrapers/eastcambs.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/eastriding.php b/docs/scrapers/eastriding.php deleted file mode 100644 index a0d5f7f..0000000 --- a/docs/scrapers/eastriding.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "East Riding of Yorkshire Council"); - $smarty->assign("authority_short_name", "East Riding"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/gloucester.php b/docs/scrapers/gloucester.php deleted file mode 100644 index aad7844..0000000 --- a/docs/scrapers/gloucester.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/hambleton.php b/docs/scrapers/hambleton.php deleted file mode 100644 index 25009a9..0000000 --- a/docs/scrapers/hambleton.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Hambleton District Council"); - $smarty->assign("authority_short_name", "Hambleton"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/hammersmithandfulham.php b/docs/scrapers/hammersmithandfulham.php deleted file mode 100644 index 5874f1f..0000000 --- a/docs/scrapers/hammersmithandfulham.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "The London Borough of Hammersmith and Fulham"); - $smarty->assign("authority_short_name", "Hammersmith and Fulham"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/horsham.php b/docs/scrapers/horsham.php deleted file mode 100644 index 31df631..0000000 --- a/docs/scrapers/horsham.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Horsham District Council"); - $smarty->assign("authority_short_name", "Horsham"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/lambeth.php b/docs/scrapers/lambeth.php deleted file mode 100644 index 821fe86..0000000 --- a/docs/scrapers/lambeth.php +++ /dev/null @@ -1,51 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "London Borough of Lambeth"); - $smarty->assign("authority_short_name", "Lambeth"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/leeds.php b/docs/scrapers/leeds.php deleted file mode 100644 index dedf457..0000000 --- a/docs/scrapers/leeds.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Leeds City Council"); - $smarty->assign("authority_short_name", "Leeds"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/manchester.php b/docs/scrapers/manchester.php deleted file mode 100644 index fb591ba..0000000 --- a/docs/scrapers/manchester.php +++ /dev/null @@ -1,52 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "City of Manchester"); - $smarty->assign("authority_short_name", "Manchester"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/midsussex.php b/docs/scrapers/midsussex.php deleted file mode 100644 index 0d34a9d..0000000 --- a/docs/scrapers/midsussex.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Mid Sussex District Council"); - $smarty->assign("authority_short_name", "Mid Sussex"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/newcastle.php b/docs/scrapers/newcastle.php deleted file mode 100644 index 4774903..0000000 --- a/docs/scrapers/newcastle.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Newcastle City Council"); - $smarty->assign("authority_short_name", "Newcastle"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/newham.php b/docs/scrapers/newham.php deleted file mode 100644 index 541e7ec..0000000 --- a/docs/scrapers/newham.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/northeastderbyshire.php b/docs/scrapers/northeastderbyshire.php deleted file mode 100644 index 62c7a92..0000000 --- a/docs/scrapers/northeastderbyshire.php +++ /dev/null @@ -1,39 +0,0 @@ - - diff --git a/docs/scrapers/norwich.php b/docs/scrapers/norwich.php deleted file mode 100644 index 0be4cbf..0000000 --- a/docs/scrapers/norwich.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Norwhich City Council"); - $smarty->assign("authority_short_name", "Norwhich"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/oxford.php b/docs/scrapers/oxford.php deleted file mode 100644 index c924e23..0000000 --- a/docs/scrapers/oxford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "City of Oxford"); - $smarty->assign("authority_short_name", "Oxford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/reading.php b/docs/scrapers/reading.php deleted file mode 100644 index 02f73a1..0000000 --- a/docs/scrapers/reading.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Reading Borough Council"); - $smarty->assign("authority_short_name", "Reading"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/richmondshire.php b/docs/scrapers/richmondshire.php deleted file mode 100644 index ecf6c3d..0000000 --- a/docs/scrapers/richmondshire.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/rochford.php b/docs/scrapers/rochford.php deleted file mode 100644 index 965b20e..0000000 --- a/docs/scrapers/rochford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Rochford District Council"); - $smarty->assign("authority_short_name", "Rochford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/salford.php b/docs/scrapers/salford.php deleted file mode 100644 index 17dafdd..0000000 --- a/docs/scrapers/salford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Salford City Council"); - $smarty->assign("authority_short_name", "Salford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/sandwell.php b/docs/scrapers/sandwell.php deleted file mode 100644 index e3eed88..0000000 --- a/docs/scrapers/sandwell.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/scottishborders.php b/docs/scrapers/scottishborders.php deleted file mode 100644 index 161c047..0000000 --- a/docs/scrapers/scottishborders.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/sheffield.php b/docs/scrapers/sheffield.php deleted file mode 100644 index a7caae0..0000000 --- a/docs/scrapers/sheffield.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/stafford.php b/docs/scrapers/stafford.php deleted file mode 100644 index 46ad0b7..0000000 --- a/docs/scrapers/stafford.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Stafford Borough Council"); - $smarty->assign("authority_short_name", "Stafford"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> diff --git a/docs/scrapers/staffordshiremoorlands.php b/docs/scrapers/staffordshiremoorlands.php deleted file mode 100644 index fe17ab0..0000000 --- a/docs/scrapers/staffordshiremoorlands.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/swindon.php b/docs/scrapers/swindon.php deleted file mode 100644 index b851abb..0000000 --- a/docs/scrapers/swindon.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/threerivers.php b/docs/scrapers/threerivers.php deleted file mode 100644 index 53d0e40..0000000 --- a/docs/scrapers/threerivers.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Three Rivers District Council"); - $smarty->assign("authority_short_name", "Three Rivers"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/torridge.php b/docs/scrapers/torridge.php deleted file mode 100644 index ce2d505..0000000 --- a/docs/scrapers/torridge.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Torridge District Council"); - $smarty->assign("authority_short_name", "Torridge"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/tunbridgewells.php b/docs/scrapers/tunbridgewells.php deleted file mode 100644 index 4d11922..0000000 --- a/docs/scrapers/tunbridgewells.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/valeofthewhitehorse.php b/docs/scrapers/valeofthewhitehorse.php deleted file mode 100644 index c05accb..0000000 --- a/docs/scrapers/valeofthewhitehorse.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/wakefield.php b/docs/scrapers/wakefield.php deleted file mode 100644 index 57b29bd..0000000 --- a/docs/scrapers/wakefield.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/westwiltshire.php b/docs/scrapers/westwiltshire.php deleted file mode 100644 index c39bf2c..0000000 --- a/docs/scrapers/westwiltshire.php +++ /dev/null @@ -1,39 +0,0 @@ - diff --git a/docs/scrapers/worthing.php b/docs/scrapers/worthing.php deleted file mode 100644 index 2594a56..0000000 --- a/docs/scrapers/worthing.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Worthing Borough Council"); - $smarty->assign("authority_short_name", "Worthing"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/docs/scrapers/wycombe.php b/docs/scrapers/wycombe.php deleted file mode 100644 index 8c6fa3b..0000000 --- a/docs/scrapers/wycombe.php +++ /dev/null @@ -1,50 +0,0 @@ -force_compile = true; - $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; - $smarty->template_dir = "../templates"; - $smarty->assign("authority_name", "Wycombe District Council"); - $smarty->assign("authority_short_name", "Wycombe"); - - if (sizeof($applications) > 0){ - $smarty->assign("applications", $applications); - } - - $smarty->display("xml.tpl"); - -?> \ No newline at end of file diff --git a/generateCGIScripts.py b/generateCGIScripts.py new file mode 100755 index 0000000..bd89209 --- /dev/null +++ b/generateCGIScripts.py @@ -0,0 +1,125 @@ +#!/usr/bin/env python + +list_of_sites_filename = "SitesToGenerate.csv" +other_files_to_copy_filename = "OtherFilesToCopy.csv" +other_files_location = "python_scrapers/" +template_filename = "python_scrapers/CGITemplate.py" +cgi_dir = "cgi-bin/" + +import csv +import urllib + +from os import chmod, environ +from shutil import copyfile +import MySQLdb + +# First, copy across files that are needed in the CGI directory +# that aren't generated. + +other_files_to_copy = open(other_files_to_copy_filename) +other_files_csv_reader = csv.DictReader( + other_files_to_copy, + quoting=csv.QUOTE_ALL, + skipinitialspace=True, + ) + +for file_dict in other_files_csv_reader: + filename = file_dict["filename"] + copyfile(other_files_location + filename, cgi_dir+filename) + + # the idea here is to have filename and permissions + # in the csv file. + # Until version 2.6 of python, there is no easy way + # to convert a string to an octal, so I am using + # integers to represent permissions... + # see README for details. + chmod(cgi_dir+filename, int(file_dict["permissions"])) + +# Next we generate the cgi files + +list_of_sites_file = open(list_of_sites_filename) +csv_reader = csv.DictReader( + list_of_sites_file, + quoting=csv.QUOTE_ALL, + skipinitialspace=True, + ) + +# create cgi files and write them in the cgi directory +template= open(template_filename).read() + +# Get a mysql cursor +mysql_connection = MySQLdb.connect(db="planning") +mysql_cursor = mysql_connection.cursor() + +python_scraper_location = "/cgi-bin/%s.cgi?day={day}&month={month}&year={year}" +php_scraper_location = "/scrapers/%(php_scraper)s.php?day={day}&month={month}&year={year}" + +# All of this should probably be done with SqlAlchemy or something. + +authority_select_query = "SELECT * FROM authority WHERE short_name = '%(short_name)s';" + +# FIXME: Both of these queries should set planning_email and notes. +authority_insert_query = 'INSERT INTO authority (full_name, short_name, feed_url, external, disabled) values ("%(full_name)s", "%(short_name)s", "%(feed_url)s", %(external)s, %(disabled)s);' +authority_update_query = 'UPDATE authority SET full_name="%(full_name)s", external="%(external)s", disabled=%(disabled)s, feed_url="%(feed_url)s", external=%(external)s WHERE short_name = "%(short_name)s";' + +for site_dict in csv_reader: + # We need these to be 1 or 0 to pass them into mysql. + site_dict['external'] = 1 if site_dict['external'] else 0 + site_dict['disabled'] = 1 if site_dict['disabled'] else 0 + + if site_dict['external']: + # This scraper is somewhere else. + pass + elif site_dict['feed_url']: + # This scraper is local and uses an non-generated file in cgi-bin + pass + elif site_dict['php_scraper']: + # Uses a PHP scraper. + site_dict['feed_url'] = php_scraper_location %site_dict + elif site_dict['python_module'] and site_dict['parser_class']: + # We need to generate a python CGI file + file_location = cgi_dir + "%(short_name)s.cgi" %site_dict + contents = template %site_dict + + this_file = open(file_location, "w") + this_file.write(contents) + this_file.close() + chmod(file_location, 0755) + + quoted_short_name = urllib.quote(site_dict["short_name"]) + site_dict['feed_url'] = python_scraper_location %(quoted_short_name) + else: + # Something has gone wrong. + print "ERROR: Config for %(short_name)s is faulty." %site_dict + + # print "Disabling this scraper" + # FIXME: Should have a query here to set disabled for this scraper. + continue + + # Do we have a record for this authority already? + row_count = mysql_cursor.execute(authority_select_query %site_dict) + + if row_count > 1: + print "ERROR: There is more than one row for %(short_name)s." %site_dict + print "Skipping this scraper." + + continue + elif row_count == 1: + mysql_cursor.execute(authority_update_query %site_dict) + elif row_count == 0: + mysql_cursor.execute(authority_insert_query %site_dict) + else: + print "ERROR: How on earth did we get here? Row count is %s" %(row_count) + +# write a README to warn people not to svn add stuff to CGI directory +readme_message = """ +WARNING - this directory is only for generated files +and files which are automatically copied in. +Anything manually added here will be lost. + +""" +readme_file = open(cgi_dir + "README", "w") +readme_file.write(readme_message) +readme_file.close() + + diff --git a/python_scrapers/CGITemplate b/python_scrapers/CGITemplate.py similarity index 68% rename from python_scrapers/CGITemplate rename to python_scrapers/CGITemplate.py index 02c9dfb..26abb94 100644 --- a/python_scrapers/CGITemplate +++ b/python_scrapers/CGITemplate.py @@ -1,4 +1,6 @@ -# This is the parser for %(authority_name)s. +#!/usr/bin/env python + +# This is the parser for %(full_name)s. # it is generated from the file CGITemplate import cgi @@ -12,8 +14,8 @@ month = form.getfirst('month') year = form.getfirst('year') -authority_name = "%(authority_name)s" -authority_short_name = "%(authority_short_name)s" +full_name = "%(full_name)s" +short_name = "%(short_name)s" base_url = "%(base_url)s" #print "Content-Type: text/html" # HTML is following @@ -22,8 +24,8 @@ base_url = "%(base_url)s" print "Content-Type: text/xml; charset=utf-8" # XML is following print -import %(module)s -parser = %(module)s.%(parser)s(authority_name, authority_short_name, base_url) +import %(python_module)s +parser = %(python_module)s.%(parser_class)s(full_name, short_name, base_url) xml = parser.getResults(day, month, year) print xml.encode("utf-8") # print the xml diff --git a/python_scrapers/SitesToGenerate.csv b/python_scrapers/SitesToGenerate.csv deleted file mode 100644 index 8de830b..0000000 --- a/python_scrapers/SitesToGenerate.csv +++ /dev/null @@ -1,304 +0,0 @@ -"authority_name", "authority_short_name", "base_url", "module", "parser" -"City of York Council", "York", "http://planning.york.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Cherwell District Council", "Cherwell", "http://cherweb.cherwell-dc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Angus Council", "Angus", "http://planning.angus.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Huntingdonshire District Council", "Huntingdonshire", "http://planning.huntsdc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"South Staffordshire Council", "South Staffordshire", "https://services.sstaffs.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bexley Council", "Bexley", "http://publicaccess.bexley.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Lancaster City Council", "Lancaster", "http://planapps.lancaster.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bristol City Council", "Bristol", "http://e2eweb.bristol-city.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Portsmouth City Council", "Portsmouth", "http://planning.portsmouth.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"The Borough of Oadby and Wigston", "Oadby and Wigston", "http://pa.owbc.net/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Test Valley Borough Council", "Test Valley", "http://publicaccess.testvalley.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Kings Lynn and West Norfolk Borough Council", "West Norfolk", "http://online.west-norfolk.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Sunderland City Council", "Sunderland", "http://www.sunderland.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Southampton City Council", "Southampton", "http://publicaccess.southampton.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bath and North East Somerset", "Bath", "http://planning.bathnes.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Buckinghamshire County Council", "Buckinghamshire", "http://www.bucksplanning.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Spelthorne Borough Council", "Spelthorne", "http://phoenix.spelthorne.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Stevenage Borough Council", "Stevenage", "http://publicaccess.stevenage.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Tonbridge and Malling Borough Council", "Tonbridge", "http://publicaccess.tmbc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Hart District Council", "Hart", "http://publicaccess.hart.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Luton Borough Council", "Luton", "http://www.eplan.luton.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Rushmoor Borough Council", "Rushmoor", "http://pa-dc.rushmoor.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Blaby District Council", "Blaby", "http://www.blaby.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"East Devon District Council", "East Devon", "http://planning.eastdevon.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Mid Devon District Council", "Mid Devon", "http://planning.middevon.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Sevenoaks District Council", "Sevenoaks", "http://publicaccess.sevenoaks.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Woking Borough Council", "Woking", "http://caps.woking.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Basildon District Council", "Basildon", "http://planning.basildon.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"The City of Edinburgh Council", "Edinburgh", "http://citydev-portal.edinburgh.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Fenland District Council", "Fenland", "http://www.fenland.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Scarborough Borough Council", "Scarborough", "http://planning.scarborough.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Harrogate Borough Council", "Harrogate", "http://publicaccess.harrogate.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Kerrier District Council", "Kerrier", "http://publicaccess.kerrier.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Oswestry Borough Council", "Oswestry", "http://193.114.205.78/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Stockton-On-Tees Borough Council", "Stockton-On-Tees", "http://www.developmentcontrol.stockton.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Doncaster Metropolitan Borough Council", "Doncaster", "http://local.doncaster.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Waveney District Council", "Waveney", "http://publicaccess.waveney.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Chelmsford Borough Council", "Chelmsford", "http://web1.chelmsfordbc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Knowsley Council", "Knowsley", "http://publicaccess.knowsley.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"North Tyneside Council", "North Tyneside", "http://publicaccess.northtyneside.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"City of London", "City of London", "http://www.planning.cityoflondon.gov.uk/tdc/", "PublicAccess", "PublicAccessParser" -"London Borough Of Hammersmith and Fulham", "Hammersmith and Fulham", "http://www.apps.lbhf.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Aylesbury Vale District Council", "Aylesbury Vale", "http://eplanning.aylesburyvaledc.gov.uk/tdc/", "PublicAccess", "PublicAccessParser" -"Epsom and Ewell Borough Council", "Epsom and Ewell", "http://eplanning.epsom-ewell.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Gedling Borough Council", "Gedling", "http://publicaccess.gedling.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Cornwall County Council", "Cornwall", "http://planapps.cornwall.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"South Bucks District Council", "South Bucks", "http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Malvern Hills District Council", "Malvern Hills", "http://public.malvernhills.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Manchester City Council", "Manchester", "http://www.publicaccess.manchester.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"West Lancashire District Council", "West Lancashire", "http://publicaccess.westlancsdc.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Torbay Council", "Torbay", "http://www.torbay.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"South Ribble Borough Council", "South Ribble", "http://publicaccess.southribble.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Peterborough City Council", "Peterborough", "http://193.61.85.10/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Northumberland County Council", "Northumberland", "http://planning.northumberland.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Milton Keynes Council", "Milton Keynes", "http://publicaccess.milton-keynes.gov.uk/tdc/", "PublicAccess", "PublicAccessParser" -"Coventry City Council", "Coventry", "http://planning.coventry.gov.uk/", "ApplicationSearchServletParser", "CoventrySearchParser" -"Alnwick District Council", "Alnwick", "http://services.castlemorpeth.gov.uk:7777/", "ApplicationSearchServletParser", "AlnwickSearchParser" -"Haringey Council", "Haringey", "http://www.planningservices.haringey.gov.uk/", "ApplicationSearchServletParser", "HaringeySearchParser" -"Hartlepool Borough Council", "Hartlepool", "http://eforms.hartlepool.gov.uk:7777/", "ApplicationSearchServletParser", "HartlepoolSearchParser" -"North Warwickshire Borough Council", "North Warwickshire", "http://planning.northwarks.gov.uk/", "ApplicationSearchServletParser", "NorthWarksSearchParser" -"St Helens Council", "St Helens", "http://212.248.225.150:8080/", "ApplicationSearchServletParser", "StHelensSearchParser" -"Easington District Council", "Easington", "http://planning.easington.gov.uk/", "ApplicationSearchServletParser", "EasingtonSearchParser" -"High Peak Borough Council", "High Peak", "http://planning.highpeak.gov.uk/", "ApplicationSearchServletParser", "HighPeakSearchParser" -"Wellingborough Borough Council", "Wellingborough", "http://planning.wellingborough.gov.uk/", "ApplicationSearchServletParser", "WellingboroughSearchParser" -"Barrow Borough Council", "Barrow", "http://localportal.barrowbc.gov.uk/", "ApplicationSearchServletParser", "BarrowSearchParser" -"Allerdale Borough Council", "Allerdale", "http://planning.allerdale.gov.uk/", "ApplicationSearchServletParser", "AllerdaleSearchParser" -"Ealing Council", "Ealing", "http://www.pam.ealing.gov.uk/", "ApplicationSearchServletParser", "EalingSearchParser" -"Denbighshire County Council", "Denbighshire", "http://planning.denbighshire.gov.uk/", "ApplicationSearchServletParser", "DenbighshireSearchParser" -"Wear Valley District Council", "Wear Valley", "http://planning.wearvalley.gov.uk/", "ApplicationSearchServletParser", "WearValleySearchParser" -"Chorley Borough Council", "Chorley", "http://planning.chorley.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Gravesham Borough Council", "Gravesham", "http://plan.gravesham.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"London Borough Of Newham", "Newham", "http://pacaps.newham.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"North West Leicestershire District Council", "NW Leicestershire", "http://paccess.nwleics.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Redditch Borough Council", "Redditch", "http://access.redditchbc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Stirling Council", "Stirling", "http://planpub.stirling.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Stratford-on-Avon District Council", "Stratford", "http://apps.stratford.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Teignbridge District Council", "Teignbridge", "http://213.152.63.161/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"West Berkshire Council", "West Berkshire", "http://ww2.westberks.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bolsover District Council", "Bolsover", "http://217.158.161.181/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Dundee City Council", "Dundee", "http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Durham City Council", "Durham", "http://publicaccess.durhamcity.gov.uk/publicaccess/dc/", "PublicAccess", "PublicAccessParser" -"East Dorset District Council", "East Dorset", "http://193.243.228.16/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Gateshead Metropolitan Borough Council", "Gateshead", "http://planning.gateshead.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Gloucestershire County Council", "Gloucestershire", "http://www.glcstrplnng11.co.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Newcastle-under-Lyme Borough Council", "Newcastle-under-Lyme", "http://publicaccess.newcastle-staffs.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Vale Royal Borough Council", "Vale Royal", "http://pa.valeroyal.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Winchester City Council", "Winchester", "http://win2padmz.winchester.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Wolverhampton City Council", "Wolverhampton", "http://planningonline.wolverhampton.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Babergh District Council", "Babergh", "http://planning.babergh.gov.uk/dcdatav2//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Basingstoke and Deane Borough Council", "Basingstoke and Deane", "http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Bassetlaw District Council", "Bassetlaw","http://www.bassetlaw.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BassetlawParser" -"Bury Metropolitan Borough Council", "Bury", "http://e-planning.bury.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Derby City Council", "Derby", "http://eplanning.derby.gov.uk/acolnet/planningpages02/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"London Borough of Croydon", "Croydon", "http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"East Lindsey District Council", "East Lindsey", "http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Fylde Borough Council", "Fylde", "http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BoltonLikeParser" -"Guildford Borough Council", "Guildford", "http://www.guildford.gov.uk/DLDC_Version_2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Harlow Council", "Harlow", "http://planning.harlow.gov.uk/DLDC_Version_2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "HarlowParser" -"Hertsmere Borough Council", "Hertsmere", "http://www2.hertsmere.gov.uk/ACOLNET/DCOnline//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BoltonLikeParser" -"London Borough of Lewisham", "Lewisham", "http://acolnet.lewisham.gov.uk/lewis-xslpagesdc/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch", "AcolnetParser", "LewishamParser" -"North Hertfordshire District Council", "North Hertfordshire", "http://www.north-herts.gov.uk/dcdataonline/Pages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch", "AcolnetParser", "AcolnetParser" -"New Forest National Park", "New Forest NP", "http://web01.newforestnpa.gov.uk/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BoltonLikeParser" -"Bridgnorth District Council", "Bridgnorth", "http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch", "AcolnetParser", "BridgnorthParser" -"Carlisle City Council", "Carlisle", "http://planning.carlisle.gov.uk/PlanData/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Newcastle City Council", "Newcastle", "http://gisccs013.newcastle.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"North Wiltshire District Council", "North Wiltshire", "http://planning.northwilts.gov.uk/DCOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Oldham Metropolitan Borough Council", "Oldham", "http://planning.oldham.gov.uk/planning/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "OldhamParser" -"Renfrewshire Council", "Renfrewshire", "http://planning.renfrewshire.gov.uk/acolnetDCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch", "AcolnetParser", "BoltonLikeParser" -"Selby District Council", "Selby", "http://publicaccess.selby.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"South Bedfordshire District Council", "South Bedfordshire", "http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch", "AcolnetParser", "AcolnetParser" -"Suffolk Coastal District Council", "Suffolk Coastal", "http://apps3.suffolkcoastal.gov.uk/DCDataV2/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Surrey Heath Borough Council", "Surrey Heath", "https://www.public.surreyheath-online.gov.uk/whalecom60b1ef305f59f921/whalecom0/Scripts/PlanningPagesOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "SurreyHeathParser" -"New Forest District Council", "New Forest DC", "http://web3.newforest.gov.uk/planningonline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BoltonLikeParser" -"Craven District Council", "Craven", "http://www.planning.cravendc.gov.uk/fastweb/", "FastWeb", "FastWeb" -"Eastleigh Borough Council", "Eastleigh", "http://www.eastleigh.gov.uk/FastWEB/", "FastWeb", "FastWeb" -"Eden District Council", "Eden", "http://eforms.eden.gov.uk/fastweb/", "FastWeb", "FastWeb" -"Mansfield District Council", "Mansfield", "http://www.mansfield.gov.uk/Fastweb/", "FastWeb", "FastWeb" -"South Lakeland District Council", "South Lakeland", "http://www.southlakeland.gov.uk/fastweb/", "FastWeb", "FastWeb" -"London Borough of Sutton", "Sutton", "http://213.122.180.105/FASTWEB/", "FastWeb", "FastWeb" -"Welwyn-Hatfield District Council", "Welwyn-Hatfield", "https://fastweb.welhat.gov.uk/", "FastWeb", "FastWeb" -"Wyre Forest District Council", "Wyre Forest", "http://www.wyreforest.gov.uk/fastweb/", "FastWeb", "FastWeb" -"London Borough of Bromley", "Bromley", "http://planningaccess.bromley.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Watford Borough Council", "Watford", "http://ww3.watford.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Caradon District Council", "Caradon", "http://publicaccess.caradon.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Hambleton District Council", "Hambleton", "http://planning.hambleton.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Moray Council", "Moray", "http://public.moray.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Perth and Kinross Council", "Perthshire", "http://193.63.61.22/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Broads Authority", "Broads", "https://planning.broads-authority.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bracknell Forest Borough Council", "Bracknell Forest", "https://my.bracknell-forest.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Chiltern District Council", "Chiltern", "https://isa.chiltern.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Hinckley and Bosworth Borough Council", "Hinckley and Bosworth", "https://cx.hinckley-bosworth.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Tendring District Council", "Tendring", "http://195.99.151.54/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Argyll And Bute Council", "Argyll and Bute", "http://www.argyll-bute.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Oxford City Council", "Oxford", "http://uniformpublicaccess.oxford.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Havant Borough Council", "Havant", "http://www3.havant.gov.uk/scripts/planningpages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Rochford District Council", "Rochford", "http://www.rochford.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Chester-le-Street District Council", "Chester-le-Street", "http://planning.chester-le-street.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Vale of the White Horse District Council", "Vale of the White Horse", "http://planning.whitehorsedc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Corby Borough Council", "Corby", "https://publicaccess.corby.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Rutland County Council", "Rutland", "http://www.rutland.gov.uk/wellandplanning/searchparam.asp", "RutlandLike", "RutlandLikeParser" -"Melton Borough Council", "Melton", "http://publicaccess.melton.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Harborough District Council", "Harborough", "http://pa.harborough.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"East Northamptonshire Council", "East Northants", "http://publicaccesssrv.east-northamptonshire.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Cumbria County Council", "Cumbria", "http://217.114.50.149:7778/ePlanningOPS/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"Lincolnshire County Council", "Lincolnshire", "http://eplanning.lincolnshire.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"West Sussex County Council", "West Sussex", "http://eplanning.westsussex.gov.uk/ePlanningOPS/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"Bolton Metropolitan Borough Council", "Bolton", "http://www.planning.bolton.gov.uk/DCOnlineV2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Exeter City Council", "Exeter", "http://pub.exeter.gov.uk/scripts/Acolnet/dataonlineplanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Suffolk County Council", "Suffolk", "http://atrium.suffolkcc.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"Blackburn with Darwen Borough Council", "Blackburn", "http://195.8.175.6/", "PlanningExplorer", "BlackburnParser" -"Broadland District Council", "Broadland", "http://www.broadland.gov.uk/", "PlanningExplorer", "BroadlandParser" -"London Borough of Camden", "Camden", "http://planningrecords.camden.gov.uk/", "PlanningExplorer", "CamdenParser" -"Charnwood Borough Council", "Charnwood", "http://portal.charnwoodbc.gov.uk/", "PlanningExplorer", "CharnwoodParser" -"Crewe and Nantwich Borough Council", "Crewe and Nantwich", "http://portal.crewe-nantwich.gov.uk/", "PlanningExplorer", "CreweParser" -"East Staffordshire District Council", "East Staffs", "http://www2.eaststaffsbc.gov.uk/", "PlanningExplorer", "EastStaffsParser" -"Epping Forest District Council", "Epping Forest", "http://plan1.eppingforestdc.gov.uk/", "PlanningExplorer", "EppingForestParser" -"Forest Heath District Council", "Forest Heath", "http://195.171.177.73/", "PlanningExplorer", "ForestHeathParser" -"London Borough of Hackney", "Hackney", "http://www.hackney.gov.uk/servapps/", "PlanningExplorer", "HackneyParser" -"Kennet District Council", "Kennet", "http://mvm-planning.kennet.gov.uk/", "PlanningExplorer", "KennetParser" -"Lincoln City Council", "Lincoln", "http://online.lincoln.gov.uk/", "PlanningExplorer", "LincolnParser" -"Liverpool City Council", "Liverpool", "http://www.liverpool.gov.uk/", "PlanningExplorer", "LiverpoolParser" -"South Norfolk Council", "South Norfolk", "http://planning.south-norfolk.gov.uk/", "PlanningExplorer", "SouthNorfolkParser" -"South Shropshire District Council", "South Shropshire", "http://194.201.44.102/", "PlanningExplorer", "SouthShropshireParser" -"South Tyneside Council", "South Tyneside", "http://poppy.southtyneside.gov.uk/", "PlanningExplorer", "SouthTynesideParser" -"Stockport Metropolitan Borough Council", "Stockport", "http://planning.stockport.gov.uk/PlanningData/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Tamworth Borough Council", "Tamworth", "http://80.1.64.91/", "PlanningExplorer", "TamworthParser" - "Trafford Council", "Trafford", "http://planning.trafford.gov.uk/", "PlanningExplorer", "TraffordParser" -"West Oxfordshire District Council", "West Oxfordshire", "http://planning.westoxon.gov.uk/", "PlanningExplorer", "WestOxfordshireParser" -"Dudley Metropolitan Borough Council", "Dudley", "http://www2.dudley.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"East Hertfordshire District Council", "East Herts", "http://e-services.eastherts.gov.uk/swiftlg/apas/run/", "SwiftLG", "EastHertsParser" -"London Borough of Islington", "Islington", "https://www.islington.gov.uk/onlineplanning/apas/run/", "SwiftLG", "IslingtonParser" -"Cyngor Gwynedd Council", "Gwynedd", "http://www.gwynedd.gov.uk/swiftlg/apas/run/", "SwiftLG", "GwyneddParser" -"Lake District National Park Authority", "Lake District", "http://www.lake-district.gov.uk/swiftlg/apas/run/", "SwiftLG", "LakeDistrictParser" -"Macclesfield Borough Council", "Macclesfield", "http://www.planportal.macclesfield.gov.uk/swiftlg/apas/run/", "SwiftLG", "MacclesfieldParser" -"Maidstone Borough Council", "Maidstone", "http://digitalmaidstone.co.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"Mole Valley District Council", "Mole Valley", "http://www.molevalley.gov.uk/swiftlg/apas/run/", "SwiftLG", "MoleValleyParser" -"Pembrokeshire County Council", "Pembrokeshire", "http://planning.pembrokeshire.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"Rochdale Metropolitan Borough Council", "Rochdale", "http://www.rochdale.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"Slough Borough Council", "Slough", "http://www2.slough.gov.uk/swiftlg/apas/run/", "SwiftLG", "SloughParser" -"Snowdonia National Park Authority", "Snowdonia", "http://www.snowdonia-npa.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"St Edmundsbury Borough Council", "Bury St Edmunds", "http://www.stedmundsbury.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"Boston Borough Council", "Boston", "http://195.224.121.199/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" -"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://195.49.180.81/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"Somerset County Council", "Somerset", "http://webapp1.somerset.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" -"Mid Suffolk District Council", "Mid Suffolk", "http://planning.midsuffolk.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"London Borough of Southwark", "Southwark", "http://planningonline.southwarksites.com/planningonline2/AcolNetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "SouthwarkParser" -"Canterbury City Council", "Canterbury", "http://planning.canterbury.gov.uk/scripts/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "CanterburyParser" -"London Borough of Merton", "Merton", "http://planning.merton.gov.uk/", "PlanningExplorer", "MertonParser" -"Chichester District Council", "Chichester", "http://pa.chichester.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"London Borough of Barking and Dagenham", "Barking and Dagenham", "http://paweb.barking-dagenham.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Braintree District Council", "Braintree", "http://planningapp.braintree.gov.uk/WAM1/weeklyApplications.do", "WAM", "BraintreeParser" -"Colchester Borough Council", "Colchester", "http://www.planning.colchester.gov.uk/WAM/weeklyApplications.do", "WAM", "BraintreeParser" -"East Lothian Council", "East Lothian", "http://www.planning.eastlothian.gov.uk/WAM/pas/searchApplications.do", "WAM", "WAMParser" -"North Somerset Council", "North Somerset", "http://wam.n-somerset.gov.uk/MULTIWAM/weeklyApplications.do", "WAM", "BraintreeParser" -"Nottingham City Council", "Nottingham", "http://plan4.nottinghamcity.gov.uk/WAM/pas/searchApplications.do", "WAM", "WAMParser" -"Poole Borough Council", "Poole", "http://wam.boroughofpoole.com/WAM/pas/searchApplications.do", "WAM", "PooleParser" -"Rother District Council", "Rother", "http://www.planning.rother.gov.uk/WAM/pas/searchApplications.do", "WAM", "WAMParser" -"South Gloucestershire Council", "South Gloucestershire", "http://planning.southglos.gov.uk/WAM/pas/WeeklyApplications.do", "WAM", "BraintreeParser" -"London Borough of Tower Hamlets", "Tower Hamlets", "http://194.201.98.213/WAM/weeklyApplications.do", "WAM", "BraintreeParser" -"Sheffield City Council", "Sheffield", "http://planning.sheffield.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Elmbridge Borough Council", "Elmbridge", "http://www2.elmbridge.gov.uk/Planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry", "Planet", "PlanetParser" -"North Lincolnshire Council", "North Lincolnshire", "http://www.planning.northlincs.gov.uk/planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry", "Planet", "PlanetParser" -"Ryedale District Council", "Ryedale", "http://www.ryedale.gov.uk/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry", "Planet", "PlanetParser" -"Tewkesbury Borough Council", "Tewkesbury", "http://planning.tewkesbury.gov.uk/Planet/ispforms.asp?serviceKey=07WCC04163103430", "Planet", "PlanetParser" -"Worcester City Council", "Worcester", "http://www.worcester.gov.uk:8080/planet/ispforms.asp?serviceKey=SysDoc-PlanetApplicationEnquiry", "Planet", "PlanetParser" -"London Borough of Barnet", "Barnet", "http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Arun District Council", "Arun", "http://www.arun.gov.uk/iplanning/portal/page?_pageid=33,4139&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Breckland Council", "Breckland", "http://wplan01.intranet.breckland.gov.uk:7778/portal/page?_pageid=33,30988&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Ellesmere Port and Neston Borough Council", "Ellesmere Port", "http://ocella.epnbc.gov.uk/portal/page?_pageid=33,38205&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Fareham Borough Council", "Fareham", "http://eocella.fareham.gov.uk/portal/page?_pageid=33,31754&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"London Borough of Hillingdon", "Hillingdon", "http://w09.hillingdon.gov.uk/portal/page?_pageid=33,82093&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"North East Lincolnshire Council", "North East Lincolnshire", "http://planning.nelincs.gov.uk/portal/page?_pageid=33,64104&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Middlesbrough Borough Council", "Middlesbrough", "http://planserv.middlesbrough.gov.uk/portal/page?_pageid=33,4178&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Uttlesford District Council", "Uttlesford", "http://planning.uttlesford.gov.uk/portal/page/portal/plan/weekly", "Ocella", "OcellaParser" -"Mid Bedfordshire District Council", "Mid Beds", "http://www.midbeds.gov.uk/acolnetDC/DCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "MidBedsParser" -"Cambridgeshire County Council", "Cambridgeshire", "http://planapps2.cambridgeshire.gov.uk/DCWebPages/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Isle of Wight Council", "Isle of Wight", "", "IsleOfWight", "IsleOfWightParser" -"Barnsley Metropolitan Borough Council", "Barnsley", "", "Barnsley", "BarnsleyParser" -"Daventry District Council", "Daventry", "http://62.231.149.150/swiftlg/apas/run/wphappcriteria.display", "SwiftLG", "SwiftLGParser" -"Shetland Islands Council", "Shetland Islands", "", "Shetland", "ShetlandParser" -"The Royal Borough of Kensington and Chelsea", "Kensington and Chelsea", "", "Kensington", "KensingtonParser" -"Comhairle Nan Eilean Siar", "Comhairle Nan Eilean Siar", "http://planning.cne-siar.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"East Hampshire District Council", "East Hampshire", "http://planningdevelopment.easthants.gov.uk/dconline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Fife Council", "Fife", "", "Fife", "FifeParser" -"Forest of Dean District Council", "Forest of Dean", "", "ForestOfDean", "ForestOfDeanParser" -"Flintshire County Council", "Flintshire", "", "Flintshire", "FlintshireParser" -"Maldon District Council", "Maldon", "http://forms.maldon.gov.uk:8080/PlanApp/jsp/searchPlanApp-action.do", "Maldon", "MaldonParser" -"Medway Council", "Medway", "", "Medway", "MedwayParser" -"Pendle Borough Council", "Pendle", "http://bopdoccip.pendle.gov.uk/PlanApp/jsp/searchPlanApp-action.do", "Maldon", "PendleParser" -"Shropshire County Council", "Shropshire", "http://planning.shropshire.gov.uk/PlanAppList.asp", "Shropshire", "ShropshireParser" -"North Yorkshire County Council", "North Yorkshire", "https://onlineplanningregister.northyorks.gov.uk/Online%20Register/PlanAppList.asp", "Shropshire", "NorthYorkshireParser" -"South Northamptonshire Council", "South Northamptonshire", "http://snc.planning-register.co.uk/PlanAppList.asp", "Shropshire", "SouthNorthamptonshireParser" -"Lewes District Council", "Lewes", "http://planning.lewes.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Warrington Borough Council", "Warrington", "http://212.248.237.123:8080/swiftlg/apas/run/wphappcriteria.display", "SwiftLG", "SwiftLGParser" -"Olympic Delivery Authority", "Olympics", "http://planning.london2012.com/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Cannock Chase District Council", "Cannock Chase", "http://planning.cannockchasedc.com/swiftlg/apas/run/wphappcriteria.display", "SwiftLG", "SwiftLGParser" -"Blackpool Borough Council", "Blackpool", "http://www2.blackpool.gov.uk/PlanningApplications/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BlackpoolParser" -"London Borough of Greenwich", "Greenwich", "http://onlineplanning.greenwich.gov.uk/acolnet/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "GreenwichParser" -"Bridgend County Borough Council", "Bridgend", "http://eplan.bridgend.gov.uk:7778/portal/page?_pageid=55,31779&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"London Borough of Havering", "Havering", "http://planning.havering.gov.uk/portal/page?_pageid=33,1026&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Castle Point Borough Council", "Castle Point", "http://planning.castlepoint.gov.uk/portal/page?_pageid=35,38205&_dad=portal&_schema=PORTAL", "Ocella", "OcellaParser" -"Great Yarmouth Borough Council", "Great Yarmouth", "http://planning.great-yarmouth.gov.uk/portal/page/portal/plan/weekly", "Ocella", "OcellaParser" -"Conwy County Borough Council", "Conwy", "http://www.conwy.gov.uk/", "PlanningExplorer", "ConwyParser" -"London Borough of Merton", "Merton", "http://planning.merton.gov.uk", "PlanningExplorer", "MertonParser" -"London Borough of Enfield", "Enfield", "http://forms.enfield.gov.uk/swiftlg/apas/run/wphappcriteria.display", "SwiftLG", "SwiftLGParser" -"Amber Valley Borough Council", "Amber Valley", "", "AmberValley", "AmberValleyParser" -"Aberdeenshire Council", "Aberdeenshire", "", "Aberdeenshire", "AberdeenshireParser" -"London Borough of Brent", "Brent", "", "Brent", "BrentParser" -"Carmarthenshire County Council", "Carmarthenshire", "", "Carmarthenshire", "CarmarthenshireParser" -"Berwick-upon-Tweed Borough Council", "Berwick", "", "Berwick", "BerwickParser" -"Birmingham City Council", "Birmingham", "", "Birmingham", "BirminghamParser" -"Royal Borough of Kingston upon Thames", "Kingston upon Thames", "", "KingstonUponThames", "KingstonParser" -"London Borough of Hounslow", "Hounslow", "", "Hounslow", "HounslowParser" -"London Borough of Harrow", "Harrow", "", "Harrow", "HarrowParser" -"Westminster City Council", "Westminster", "", "Westminster", "WestminsterParser" -"Halton Borough Council", "Halton", "", "Halton", "HaltonParser" -"Hampshire County Council", "Hampshire", "", "Hampshire", "HampshireParser" -"Hastings Borough Council", "Hastings", "", "Hastings", "HastingsParser" -"Herefordshire Council", "Herefordshire", "", "Herefordshire", "HerefordshireParser" -"Exmoor National Park", "Exmoor", "", "Exmoor", "ExmoorParser" -"Eastbourne Borough Council", "Eastbourne", "", "Eastbourne", "EastbourneParser" -"Waltham Forest Council", "Waltham Forest", "http://planning.walthamforest.gov.uk/", "PlanningExplorer", "WalthamForestParser" -"Caerphilly County Borough Council", "Caerphilly", "http://publicaccess.caerphilly.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Gosport Borough Council", "Gosport", "", "Gosport", "GosportParser" -"West Dorset District Council", "West Dorset", "", "WestDorset", "WestDorsetParser" -"Kirklees Council", "Kirklees", "", "Kirklees", "KirkleesParser" -"Lichfield District Council", "Lichfield", "", "Lichfield", "LichfieldParser" -"Leicestershire County Council", "Leicestershire", "", "Leicestershire", "LeicestershireParser" -"Cairngorms National Park", "Cairngorms", "", "Cairngorms", "CairngormsParser" -"Calderdale Council", "Calderdale", "", "Calderdale", "CalderdaleParser" -"Broxtowe Borough Council", "Broxtowe", "", "Broxtowe", "BroxtoweParser" -"Mendip District Council", "Mendip", "", "Mendip", "MendipParser" -"Weymouth and Portland Borough Council", "Weymouth and Portland", "", "Weymouth", "WeymouthParser" -"Solihull Metropolitan Borough Council", "Solihull", "", "Solihull", "SolihullParser" -"Reading Borough Council", "Reading", "http://planning.reading.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bedford Borough Council", "Bedford", "http://www.publicaccess.bedford.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Bradford Metropolitan District Council", "Bradford", "http://www.planning4bradford.com/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Cambridge City Council", "Cambridge", "http://www.cambridge.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Dartford Borough Council", "Dartford", "http://publicaccess.dartford.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"East Cambridgeshire District Council", "East Cambridgeshire", "http://pa.eastcambs.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"East Riding of Yorkshire Council", "East Riding", "http://www.eastriding.gov.uk/PublicAccess731c/tdc/", "PublicAccess", "PublicAccessParser" -"Gloucester City Council", "Gloucester", "http://www.glcstrplnng11.co.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Horsham District Council", "Horsham", "http://publicaccess.horsham.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"London Borough of Lambeth", "Lambeth", "http://planning.lambeth.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Leeds City Council", "Leeds", "http://planningapplications.leeds.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Mid Sussex District Council", "Mid Sussex", "http://dc.midsussex.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"North East Derbyshire District Council", "North East Derbyshire", "http://planapps-online.ne-derbyshire.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Norwich City Council", "Norwich", "http://publicaccess.norwich.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Richmondshire District Council", "Richmondshire", "http://publicaccess.richmondshire.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Salford City Council", "Salford", "http://publicaccess.salford.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Sandwell Metropolitan Borough Council", "Sandwell", "http://webcaps.sandwell.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Scottish Borders Council", "Scottish Borders", "http://eplanning.scotborders.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Stafford Borough Council", "Stafford", "http://www3.staffordbc.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Swindon Borough Council", "Swindon", "http://194.73.99.13/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Three Rivers District Council", "Three Rivers", "http://www2.threerivers.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Torridge District Council", "Torridge", "http://www.torridge.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Tunbridge Wells Borough Council", "Tunbridge Wells", "http://secure.tunbridgewells.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Wakefield Metropolitan District Council", "Wakefield", "http://planning.wakefield.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"West Wiltshire District Council", "West Wiltshire", "http://planning.westwiltshire.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" -"Worthing Borough Council", "Worthing", "http://planning.worthing.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" -"Wycombe District Council", "Wycombe", "http://planningpa.wycombe.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" diff --git a/python_scrapers/generateCGIScripts.py b/python_scrapers/generateCGIScripts.py deleted file mode 100755 index f29e65a..0000000 --- a/python_scrapers/generateCGIScripts.py +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/local/bin/python - -list_of_sites_filename = "SitesToGenerate.csv" -other_files_to_copy_filename = "OtherFilesToCopy.csv" -template_filename = "CGITemplate" -python_location = "/usr/local/bin/python" - -cgi_dir = "../cgi-bin/" - -import csv -from os import chmod -from shutil import copyfile - -list_of_sites_file = open(list_of_sites_filename) -csv_reader = csv.DictReader(list_of_sites_file, quoting=csv.QUOTE_ALL, skipinitialspace=True) - -# create cgi files and write them in the cgi directory -template_contents = open(template_filename).read() - -template = "#!" + python_location +"\n\n" + template_contents - -for site_dict in csv_reader: - filename = cgi_dir + "%s.cgi" %site_dict["authority_short_name"] - contents = template %site_dict - this_file = open(filename, "w") - print "Writing %s" %filename - this_file.write(contents) - this_file.close() - - chmod(filename, 0755) - -# copy across other files that are needed -# these should probably come from a config file - -other_files_to_copy = open(other_files_to_copy_filename) -other_files_csv_reader = csv.DictReader(other_files_to_copy, quoting=csv.QUOTE_ALL, skipinitialspace=True) - -for file_dict in other_files_csv_reader: - print file_dict - filename = file_dict["filename"] - copyfile(filename, cgi_dir+filename) - - # the idea here is to have filename and permissions - # in the csv file. - # Until version 2.6 of python, there is no easy way - # to convert a string to an octal, so I am using - # integers to represent permissions... - # see README for details. - chmod(cgi_dir+filename, int(file_dict["permissions"])) - -# write a README to warn people not to svn add stuff to CGI directory -readme_message = """ -WARNING - this directory is only for generated files -and files which are automatically copied in. -Anything manually added here will be svn deleted. - -""" -readme_file = open(cgi_dir+ "README", "w") -readme_file.write(readme_message) -readme_file.close() - -