@@ -4,6 +4,11 @@ import urllib, urllib2 | |||||
import HTMLParser | import HTMLParser | ||||
#from BeautifulSoup import BeautifulSoup | #from BeautifulSoup import BeautifulSoup | ||||
# Adding this to try to help Surrey Heath - Duncan 14/9/2007 | |||||
import cookielib | |||||
cookie_jar = cookielib.CookieJar() | |||||
################ | |||||
import urlparse | import urlparse | ||||
import re | import re | ||||
@@ -154,9 +159,20 @@ class AcolnetParser(HTMLParser.HTMLParser): | |||||
elif tag == "td": | elif tag == "td": | ||||
self._in_td = False | self._in_td = False | ||||
def _getSearchResponse(self): | |||||
# It looks like we sometimes need to do some stuff to get around a | |||||
# javascript redirect and cookies. | |||||
search_form_request = urllib2.Request(self.base_url) | |||||
search_form_response = urllib2.urlopen(search_form_request) | |||||
return search_form_response | |||||
def getResultsByDayMonthYear(self, day, month, year): | def getResultsByDayMonthYear(self, day, month, year): | ||||
# first we fetch the search page to get ourselves some session info... | # first we fetch the search page to get ourselves some session info... | ||||
search_form_response = urllib2.urlopen(self.base_url) | |||||
search_form_response = self._getSearchResponse() | |||||
search_form_contents = search_form_response.read() | search_form_contents = search_form_response.read() | ||||
#outfile = open("tmpfile", "w") | #outfile = open("tmpfile", "w") | ||||
@@ -418,16 +434,50 @@ class SuffolkCoastalParser(AcolnetParser): | |||||
comments_email_address = "d.c.admin@suffolkcoastal.gov.uk" | comments_email_address = "d.c.admin@suffolkcoastal.gov.uk" | ||||
class SurreyHeathParser(AcolnetParser): | class SurreyHeathParser(AcolnetParser): | ||||
# This is not working yet. | |||||
# _getSearchResponse is an attempt to work around | |||||
# cookies and a javascript redirect. | |||||
# I may have a bit more of a go at this at some point if I have time. | |||||
case_number_tr = 1 # this one can be got by the td class attribute | case_number_tr = 1 # this one can be got by the td class attribute | ||||
reg_date_tr = 2 | reg_date_tr = 2 | ||||
location_tr = 4 | location_tr = 4 | ||||
proposal_tr = 5 | proposal_tr = 5 | ||||
comments_email_address = "development-control@surreyheath.gov.uk" | comments_email_address = "development-control@surreyheath.gov.uk" | ||||
def _getSearchResponse(self): | |||||
# It looks like we sometimes need to do some stuff to get around a | |||||
# javascript redirect and cookies. | |||||
search_form_request = urllib2.Request(self.base_url) | |||||
# Lying about the user-agent doesn't seem to help. | |||||
#search_form_request.add_header("user-agent", "Mozilla/5.0 (compatible; Konqu...L/3.5.6 (like Gecko) (Kubuntu)") | |||||
search_form_response = urllib2.urlopen(search_form_request) | |||||
cookie_jar.extract_cookies(search_form_response, search_form_request) | |||||
print search_form_response.geturl() | |||||
print search_form_response.info() | |||||
print search_form_response.read() | |||||
# validate_url = "https://www.public.surreyheath-online.gov.uk/whalecom7cace3215643e22bb7b0b8cc97a7/whalecom0/InternalSite/Validate.asp" | |||||
# javascript_redirect_url = urlparse.urljoin(self.base_url, "/whalecom7cace3215643e22bb7b0b8cc97a7/whalecom0/InternalSite/RedirectToOrigURL.asp?site_name=public&secure=1") | |||||
# javascript_redirect_request = urllib2.Request(javascript_redirect_url) | |||||
# javascript_redirect_request.add_header('Referer', validate_url) | |||||
# cookie_jar.add_cookie_header(javascript_redirect_request) | |||||
# javascript_redirect_response = urllib2.urlopen(javascript_redirect_request) | |||||
# return javascript_redirect_response | |||||
if __name__ == '__main__': | if __name__ == '__main__': | ||||
day = 15 | |||||
month = 3 | |||||
day = 31 | |||||
month = 8 | |||||
year = 2007 | year = 2007 | ||||
# returns error 400 - bad request | # returns error 400 - bad request | ||||
@@ -440,6 +490,6 @@ if __name__ == '__main__': | |||||
# results as columns of one table | # results as columns of one table | ||||
parser = SurreyHeathParser("Surrey Heath", "Surrey Heath", "https://www.public.surreyheath-online.gov.uk/whalecom60b1ef305f59f921/whalecom0/Scripts/PlanningPagesOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") | parser = SurreyHeathParser("Surrey Heath", "Surrey Heath", "https://www.public.surreyheath-online.gov.uk/whalecom60b1ef305f59f921/whalecom0/Scripts/PlanningPagesOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") | ||||
print parser.getResults(day, month, year) | print parser.getResults(day, month, year) | ||||
@@ -18,12 +18,16 @@ authority_name = "Allerdale Borough Council" | |||||
authority_short_name = "Allerdale" | authority_short_name = "Allerdale" | ||||
base_url = "http://planning.allerdale.gov.uk/" | base_url = "http://planning.allerdale.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.AllerdaleSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.AllerdaleSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Alnwick District Council" | |||||
authority_short_name = "Alnwick" | authority_short_name = "Alnwick" | ||||
base_url = "http://services.castlemorpeth.gov.uk:7777/" | base_url = "http://services.castlemorpeth.gov.uk:7777/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.AlnwickSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.AlnwickSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Angus Council" | |||||
authority_short_name = "Angus" | authority_short_name = "Angus" | ||||
base_url = "http://planning.angus.gov.uk/PublicAccess/tdc/" | base_url = "http://planning.angus.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Aylesbury Vale District Council" | |||||
authority_short_name = "Aylesbury Vale" | authority_short_name = "Aylesbury Vale" | ||||
base_url = "http://eplanning.aylesburyvaledc.gov.uk/tdc/" | base_url = "http://eplanning.aylesburyvaledc.gov.uk/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Babergh District Council" | |||||
authority_short_name = "Babergh" | authority_short_name = "Babergh" | ||||
base_url = "http://planning.babergh.gov.uk/dataOnlinePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.babergh.gov.uk/dataOnlinePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.BaberghParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.BaberghParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Barrow Borough Council" | |||||
authority_short_name = "Barrow" | authority_short_name = "Barrow" | ||||
base_url = "http://localportal.barrowbc.gov.uk/" | base_url = "http://localportal.barrowbc.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.BarrowSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.BarrowSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Basildon District Council" | |||||
authority_short_name = "Basildon" | authority_short_name = "Basildon" | ||||
base_url = "http://planning.basildon.gov.uk/publicaccess/tdc/" | base_url = "http://planning.basildon.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Basingstoke and Deane Borough Council" | |||||
authority_short_name = "Basingstoke and Deane" | authority_short_name = "Basingstoke and Deane" | ||||
base_url = "http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.BasingstokeParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.BasingstokeParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bassetlaw District Council" | |||||
authority_short_name = "Bassetlaw" | authority_short_name = "Bassetlaw" | ||||
base_url = "http://www.bassetlaw.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://www.bassetlaw.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.BassetlawParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.BassetlawParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bath and North East Somerset" | |||||
authority_short_name = "Bath" | authority_short_name = "Bath" | ||||
base_url = "http://planning.bathnes.gov.uk/publicaccess/tdc/" | base_url = "http://planning.bathnes.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bexley Council" | |||||
authority_short_name = "Bexley" | authority_short_name = "Bexley" | ||||
base_url = "http://publicaccess.bexley.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.bexley.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Blaby District Council" | |||||
authority_short_name = "Blaby" | authority_short_name = "Blaby" | ||||
base_url = "http://www.blaby.gov.uk/PublicAccess/tdc/" | base_url = "http://www.blaby.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bolsover District Council" | |||||
authority_short_name = "Bolsover" | authority_short_name = "Bolsover" | ||||
base_url = "http://217.158.161.181/publicaccess/tdc/" | base_url = "http://217.158.161.181/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bracknell Forest Borough Council" | |||||
authority_short_name = "Bracknell Forest" | authority_short_name = "Bracknell Forest" | ||||
base_url = "https://my.bracknell-forest.gov.uk/publicaccess/tdc/" | base_url = "https://my.bracknell-forest.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bridgnorth District Council" | |||||
authority_short_name = "Bridgnorth" | authority_short_name = "Bridgnorth" | ||||
base_url = "http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.BridgnorthParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.BridgnorthParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bristol City Council" | |||||
authority_short_name = "Bristol" | authority_short_name = "Bristol" | ||||
base_url = "http://e2eweb.bristol-city.gov.uk/publicaccess/tdc/" | base_url = "http://e2eweb.bristol-city.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Broads Authority" | |||||
authority_short_name = "Broads" | authority_short_name = "Broads" | ||||
base_url = "https://planning.broads-authority.gov.uk/PublicAccess/tdc/" | base_url = "https://planning.broads-authority.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "London Borough of Bromley" | |||||
authority_short_name = "Bromley" | authority_short_name = "Bromley" | ||||
base_url = "http://planningaccess.bromley.gov.uk/PublicAccess/tdc/" | base_url = "http://planningaccess.bromley.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Buckinghamshire County Council" | |||||
authority_short_name = "Buckinghamshire" | authority_short_name = "Buckinghamshire" | ||||
base_url = "http://www.bucksplanning.gov.uk/PublicAccess/tdc/" | base_url = "http://www.bucksplanning.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Bury Metropolitan Borough Council" | |||||
authority_short_name = "Bury" | authority_short_name = "Bury" | ||||
base_url = "http://e-planning.bury.gov.uk/ePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://e-planning.bury.gov.uk/ePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.BuryParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.BuryParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Caradon District Council" | |||||
authority_short_name = "Caradon" | authority_short_name = "Caradon" | ||||
base_url = "http://publicaccess.caradon.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.caradon.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Carlisle City Council" | |||||
authority_short_name = "Carlisle" | authority_short_name = "Carlisle" | ||||
base_url = "http://planning.carlisle.gov.uk/acolnet/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.carlisle.gov.uk/acolnet/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.CarlisleParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.CarlisleParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Chelmsford Borough Council" | |||||
authority_short_name = "Chelmsford" | authority_short_name = "Chelmsford" | ||||
base_url = "http://web1.chelmsfordbc.gov.uk/publicaccess/tdc/" | base_url = "http://web1.chelmsfordbc.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Cherwell District Council" | |||||
authority_short_name = "Cherwell" | authority_short_name = "Cherwell" | ||||
base_url = "http://cherweb.cherwell-dc.gov.uk/publicaccess/tdc/" | base_url = "http://cherweb.cherwell-dc.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Chiltern District Council" | |||||
authority_short_name = "Chiltern" | authority_short_name = "Chiltern" | ||||
base_url = "https://isa.chiltern.gov.uk/publicaccess/tdc/" | base_url = "https://isa.chiltern.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Chorley Borough Council" | |||||
authority_short_name = "Chorley" | authority_short_name = "Chorley" | ||||
base_url = "http://planning.chorley.gov.uk/PublicAccess/tdc/" | base_url = "http://planning.chorley.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "City of London" | |||||
authority_short_name = "City of London" | authority_short_name = "City of London" | ||||
base_url = "http://www.planning.cityoflondon.gov.uk/tdc/" | base_url = "http://www.planning.cityoflondon.gov.uk/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Cornwall County Council" | |||||
authority_short_name = "Cornwall" | authority_short_name = "Cornwall" | ||||
base_url = "http://planapps.cornwall.gov.uk/publicaccess/tdc/" | base_url = "http://planapps.cornwall.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Coventry City Council" | |||||
authority_short_name = "Coventry" | authority_short_name = "Coventry" | ||||
base_url = "http://planning.coventry.gov.uk/" | base_url = "http://planning.coventry.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.CoventrySearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.CoventrySearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Craven District Council" | |||||
authority_short_name = "Craven" | authority_short_name = "Craven" | ||||
base_url = "http://www.planning.cravendc.gov.uk/fastweb/" | base_url = "http://www.planning.cravendc.gov.uk/fastweb/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import FastWeb | import FastWeb | ||||
parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "London Borough of Croydon" | |||||
authority_short_name = "Croydon" | authority_short_name = "Croydon" | ||||
base_url = "http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.CroydonParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.CroydonParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Denbighshire County Council" | |||||
authority_short_name = "Denbighshire" | authority_short_name = "Denbighshire" | ||||
base_url = "http://planning.denbighshire.gov.uk/" | base_url = "http://planning.denbighshire.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.DenbighshireSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.DenbighshireSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Derby City Council" | |||||
authority_short_name = "Derby" | authority_short_name = "Derby" | ||||
base_url = "http://195.224.106.204/scripts/planningpages02%5CXSLPagesDC_DERBY%5CDCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://195.224.106.204/scripts/planningpages02%5CXSLPagesDC_DERBY%5CDCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.DerbyParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.DerbyParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Doncaster Metropolitan Borough Council" | |||||
authority_short_name = "Doncaster" | authority_short_name = "Doncaster" | ||||
base_url = "http://maps.doncaster.gov.uk/publicaccess/tdc/" | base_url = "http://maps.doncaster.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Dundee City Council" | |||||
authority_short_name = "Dundee" | authority_short_name = "Dundee" | ||||
base_url = "http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/" | base_url = "http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Durham City Council" | |||||
authority_short_name = "Durham" | authority_short_name = "Durham" | ||||
base_url = "http://publicaccess.durhamcity.gov.uk/publicaccess/dc/" | base_url = "http://publicaccess.durhamcity.gov.uk/publicaccess/dc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Ealing Council" | |||||
authority_short_name = "Ealing" | authority_short_name = "Ealing" | ||||
base_url = "http://www.pam.ealing.gov.uk/" | base_url = "http://www.pam.ealing.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.EalingSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.EalingSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "District of Easington" | |||||
authority_short_name = "Easington" | authority_short_name = "Easington" | ||||
base_url = "http://planning.easington.gov.uk/" | base_url = "http://planning.easington.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.EasingtonSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.EasingtonSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "East Devon District Council" | |||||
authority_short_name = "East Devon" | authority_short_name = "East Devon" | ||||
base_url = "http://planning.eastdevon.gov.uk/PublicAccess/tdc/" | base_url = "http://planning.eastdevon.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "East Dorset District Council" | |||||
authority_short_name = "East Dorset" | authority_short_name = "East Dorset" | ||||
base_url = "http://193.243.228.16/PublicAccess/tdc/" | base_url = "http://193.243.228.16/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "East Lindsey District Council" | |||||
authority_short_name = "East Lindsey" | authority_short_name = "East Lindsey" | ||||
base_url = "http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.EastLindseyParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.EastLindseyParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Eastleigh Borough Council" | |||||
authority_short_name = "Eastleigh" | authority_short_name = "Eastleigh" | ||||
base_url = "http://www.eastleigh.gov.uk/FastWEB/" | base_url = "http://www.eastleigh.gov.uk/FastWEB/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import FastWeb | import FastWeb | ||||
parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Eden District Council" | |||||
authority_short_name = "Eden" | authority_short_name = "Eden" | ||||
base_url = "http://eforms.eden.gov.uk/fastweb/" | base_url = "http://eforms.eden.gov.uk/fastweb/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import FastWeb | import FastWeb | ||||
parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "The City of Edinburgh Council" | |||||
authority_short_name = "Edinburgh" | authority_short_name = "Edinburgh" | ||||
base_url = "http://citydev-portal.edinburgh.gov.uk/publicaccess/dc/" | base_url = "http://citydev-portal.edinburgh.gov.uk/publicaccess/dc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Epsom and Ewell Borough Council" | |||||
authority_short_name = "Epsom and Ewell" | authority_short_name = "Epsom and Ewell" | ||||
base_url = "http://eplanning.epsom-ewell.gov.uk/publicaccess/tdc/" | base_url = "http://eplanning.epsom-ewell.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Fenland District Council" | |||||
authority_short_name = "Fenland" | authority_short_name = "Fenland" | ||||
base_url = "http://www.fenland.gov.uk/publicaccess/tdc/" | base_url = "http://www.fenland.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Fylde Borough Council" | |||||
authority_short_name = "Fylde" | authority_short_name = "Fylde" | ||||
base_url = "http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.FyldeParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.FyldeParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Gateshead Metropolitan Borough Council" | |||||
authority_short_name = "Gateshead" | authority_short_name = "Gateshead" | ||||
base_url = "http://planning.gateshead.gov.uk/publicaccess/tdc/" | base_url = "http://planning.gateshead.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Gedling Borough Council" | |||||
authority_short_name = "Gedling" | authority_short_name = "Gedling" | ||||
base_url = "http://publicaccess.gedling.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.gedling.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Gloucestershire County Council" | |||||
authority_short_name = "Gloucestershire" | authority_short_name = "Gloucestershire" | ||||
base_url = "http://planning.gloucestershire.gov.uk/PublicAccess/tdc/" | base_url = "http://planning.gloucestershire.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Gravesham Borough Council" | |||||
authority_short_name = "Gravesham" | authority_short_name = "Gravesham" | ||||
base_url = "http://195.102.67.4/PublicAccess/tdc/" | base_url = "http://195.102.67.4/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Hambleton District Council" | |||||
authority_short_name = "Hambleton" | authority_short_name = "Hambleton" | ||||
base_url = "http://planning.hambleton.gov.uk/publicaccess/tdc/" | base_url = "http://planning.hambleton.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "London Borough Of Hammersmith and Fulham" | |||||
authority_short_name = "Hammersmith and Fulham" | authority_short_name = "Hammersmith and Fulham" | ||||
base_url = "http://www.apps.lbhf.gov.uk/PublicAccess/tdc/" | base_url = "http://www.apps.lbhf.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Haringey Council" | |||||
authority_short_name = "Haringey" | authority_short_name = "Haringey" | ||||
base_url = "http://www.planningservices.haringey.gov.uk/" | base_url = "http://www.planningservices.haringey.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.HaringeySearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.HaringeySearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Harlow Council" | |||||
authority_short_name = "Harlow" | authority_short_name = "Harlow" | ||||
base_url = "http://planning.harlow.gov.uk/PlanningSearch/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.harlow.gov.uk/PlanningSearch/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.HarlowParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.HarlowParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Harrogate Borough Council" | |||||
authority_short_name = "Harrogate" | authority_short_name = "Harrogate" | ||||
base_url = "http://publicaccess.harrogate.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.harrogate.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Hart District Council" | |||||
authority_short_name = "Hart" | authority_short_name = "Hart" | ||||
base_url = "http://publicaccess.hart.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.hart.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Hartlepool Borough Council" | |||||
authority_short_name = "Hartlepool" | authority_short_name = "Hartlepool" | ||||
base_url = "http://eforms.hartlepool.gov.uk:7777/" | base_url = "http://eforms.hartlepool.gov.uk:7777/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.HartlepoolSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.HartlepoolSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Hertsmere Borough Council" | |||||
authority_short_name = "Hertsmere" | authority_short_name = "Hertsmere" | ||||
base_url = "http://www2.hertsmere.gov.uk/ACOLNET/DCOnline//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://www2.hertsmere.gov.uk/ACOLNET/DCOnline//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.HertsmereParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.HertsmereParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "High Peak Borough Council" | |||||
authority_short_name = "High Peak" | authority_short_name = "High Peak" | ||||
base_url = "http://planning.highpeak.gov.uk/" | base_url = "http://planning.highpeak.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.HighPeakSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.HighPeakSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Hinkley and Bosworth Borough Council" | |||||
authority_short_name = "Hinkley and Bosworth" | authority_short_name = "Hinkley and Bosworth" | ||||
base_url = "https://cx.hinckley-bosworth.gov.uk/PublicAccess/tdc/" | base_url = "https://cx.hinckley-bosworth.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Huntingdonshire District Council" | |||||
authority_short_name = "Huntingdonshire" | authority_short_name = "Huntingdonshire" | ||||
base_url = "http://planning.huntsdc.gov.uk/publicaccess/tdc/" | base_url = "http://planning.huntsdc.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Kerrier District Council" | |||||
authority_short_name = "Kerrier" | authority_short_name = "Kerrier" | ||||
base_url = "http://publicaccess.kerrier.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.kerrier.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Knowsley Council" | |||||
authority_short_name = "Knowsley" | authority_short_name = "Knowsley" | ||||
base_url = "http://publicaccess.knowsley.gov.uk/PublicAccess/tdc/" | base_url = "http://publicaccess.knowsley.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Lancaster City Council" | |||||
authority_short_name = "Lancaster" | authority_short_name = "Lancaster" | ||||
base_url = "http://planapps.lancaster.gov.uk/PublicAccess/tdc/" | base_url = "http://planapps.lancaster.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "London Borough of Lewisham" | |||||
authority_short_name = "Lewisham" | authority_short_name = "Lewisham" | ||||
base_url = "http://acolnet.lewisham.gov.uk/lewis-xslpagesdc/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://acolnet.lewisham.gov.uk/lewis-xslpagesdc/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.LewishamParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.LewishamParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Luton Borough Council" | |||||
authority_short_name = "Luton" | authority_short_name = "Luton" | ||||
base_url = "http://www.eplan.luton.gov.uk/PublicAccess/tdc/" | base_url = "http://www.eplan.luton.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Malvern Hills District Council" | |||||
authority_short_name = "Malvern Hills" | authority_short_name = "Malvern Hills" | ||||
base_url = "http://public.malvernhills.gov.uk/publicaccess/tdc/" | base_url = "http://public.malvernhills.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Manchester City Council" | |||||
authority_short_name = "Manchester" | authority_short_name = "Manchester" | ||||
base_url = "http://www.publicaccess.manchester.gov.uk/publicaccess/tdc/" | base_url = "http://www.publicaccess.manchester.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Mansfield District Council" | |||||
authority_short_name = "Mansfield" | authority_short_name = "Mansfield" | ||||
base_url = "http://www.mansfield.gov.uk/Fastweb23/" | base_url = "http://www.mansfield.gov.uk/Fastweb23/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import FastWeb | import FastWeb | ||||
parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Mid Devon District Council" | |||||
authority_short_name = "Mid Devon" | authority_short_name = "Mid Devon" | ||||
base_url = "http://planning.middevon.gov.uk/publicaccess/tdc/" | base_url = "http://planning.middevon.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Milton Keynes Council" | |||||
authority_short_name = "Milton Keynes" | authority_short_name = "Milton Keynes" | ||||
base_url = "http://publicaccess.milton-keynes.gov.uk/tdc/" | base_url = "http://publicaccess.milton-keynes.gov.uk/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Moray Council" | |||||
authority_short_name = "Moray" | authority_short_name = "Moray" | ||||
base_url = "http://public.moray.gov.uk/publicaccess/tdc/" | base_url = "http://public.moray.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "North West Leicestershire District Council" | |||||
authority_short_name = "NW Leicestershire" | authority_short_name = "NW Leicestershire" | ||||
base_url = "http://paccess.nwleics.gov.uk/PublicAccess/tdc/" | base_url = "http://paccess.nwleics.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "New Forest District Council" | |||||
authority_short_name = "New Forest DC" | authority_short_name = "New Forest DC" | ||||
base_url = "http://web3.newforest.gov.uk/planningonline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://web3.newforest.gov.uk/planningonline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.NewForestDCParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.NewForestDCParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "New Forest National Park" | |||||
authority_short_name = "New Forest NP" | authority_short_name = "New Forest NP" | ||||
base_url = "http://web01.newforestnpa.gov.uk/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://web01.newforestnpa.gov.uk/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.NewForestNPParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.NewForestNPParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Newcastle-under-Lyme Borough Council" | |||||
authority_short_name = "Newcastle-under-Lyme" | authority_short_name = "Newcastle-under-Lyme" | ||||
base_url = "http://publicaccess.newcastle-staffs.gov.uk/PublicAccess/tdc/" | base_url = "http://publicaccess.newcastle-staffs.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Newcastle City Council" | |||||
authority_short_name = "Newcastle" | authority_short_name = "Newcastle" | ||||
base_url = "http://gispublic.newcastle.gov.uk/publicaccess/tdc/" | base_url = "http://gispublic.newcastle.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "London Borough Of Newham" | |||||
authority_short_name = "Newham" | authority_short_name = "Newham" | ||||
base_url = "http://pacaps.newham.gov.uk/publicaccess/tdc/" | base_url = "http://pacaps.newham.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "North Hertfordshire District Council" | |||||
authority_short_name = "North Hertfordshire" | authority_short_name = "North Hertfordshire" | ||||
base_url = "http://www.north-herts.gov.uk/dcdataonline/Pages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://www.north-herts.gov.uk/dcdataonline/Pages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.NorthHertfordshireParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.NorthHertfordshireParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "North Tyneside Council" | |||||
authority_short_name = "North Tyneside" | authority_short_name = "North Tyneside" | ||||
base_url = "http://publicaccess.northtyneside.gov.uk/PublicAccess/tdc/" | base_url = "http://publicaccess.northtyneside.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "North Warwickshire Borough Council" | |||||
authority_short_name = "North Warwickshire" | authority_short_name = "North Warwickshire" | ||||
base_url = "http://planning.northwarks.gov.uk/" | base_url = "http://planning.northwarks.gov.uk/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import ApplicationSearchServletParser | import ApplicationSearchServletParser | ||||
parser = ApplicationSearchServletParser.NorthWarksSearchParser(authority_name, authority_short_name, base_url) | parser = ApplicationSearchServletParser.NorthWarksSearchParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "North Wiltshire District Council" | |||||
authority_short_name = "North Wiltshire" | authority_short_name = "North Wiltshire" | ||||
base_url = "http://planning.northwilts.gov.uk/DCOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.northwilts.gov.uk/DCOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.NorthWiltshireParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.NorthWiltshireParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Northumberland County Council" | |||||
authority_short_name = "Northumberland" | authority_short_name = "Northumberland" | ||||
base_url = "http://planning.northumberland.gov.uk/publicaccess/tdc/" | base_url = "http://planning.northumberland.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "The Borough of Oadby and Wigston" | |||||
authority_short_name = "Oadby and Wigston" | authority_short_name = "Oadby and Wigston" | ||||
base_url = "http://web.owbc.net/PublicAccess/tdc/" | base_url = "http://web.owbc.net/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Oldham District Council" | |||||
authority_short_name = "Oldham" | authority_short_name = "Oldham" | ||||
base_url = "http://planning.oldham.gov.uk/planning//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | base_url = "http://planning.oldham.gov.uk/planning//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.OldhamParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.OldhamParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Oswestry Borough Council" | |||||
authority_short_name = "Oswestry" | authority_short_name = "Oswestry" | ||||
base_url = "http://193.114.205.78/PublicAccess/tdc/" | base_url = "http://193.114.205.78/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Perth and Kinross Council" | |||||
authority_short_name = "Perthshire" | authority_short_name = "Perthshire" | ||||
base_url = "http://193.63.61.22/publicaccess/tdc/" | base_url = "http://193.63.61.22/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Peterborough City Council" | |||||
authority_short_name = "Peterborough" | authority_short_name = "Peterborough" | ||||
base_url = "http://194.72.246.15/publicaccess/dc/" | base_url = "http://194.72.246.15/publicaccess/dc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Portsmouth City Council" | |||||
authority_short_name = "Portsmouth" | authority_short_name = "Portsmouth" | ||||
base_url = "http://planning.portsmouth.gov.uk/PublicAccess/tdc/" | base_url = "http://planning.portsmouth.gov.uk/PublicAccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Redditch Borough Council" | |||||
authority_short_name = "Redditch" | authority_short_name = "Redditch" | ||||
base_url = "http://access.redditchbc.gov.uk/publicaccess/tdc/" | base_url = "http://access.redditchbc.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Renfrewshire Council" | |||||
authority_short_name = "Renfrewshire" | authority_short_name = "Renfrewshire" | ||||
base_url = "http://planning.renfrewshire.gov.uk/acolnetDCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://planning.renfrewshire.gov.uk/acolnetDCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.RenfrewshireParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.RenfrewshireParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Rushmoor Borough Council" | |||||
authority_short_name = "Rushmoor" | authority_short_name = "Rushmoor" | ||||
base_url = "http://pa-dc.rushmoor.gov.uk/publicaccess/tdc/" | base_url = "http://pa-dc.rushmoor.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Scarborough Borough Council" | |||||
authority_short_name = "Scarborough" | authority_short_name = "Scarborough" | ||||
base_url = "http://planning.scarborough.gov.uk/publicaccess/dc/" | base_url = "http://planning.scarborough.gov.uk/publicaccess/dc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Selby District Council" | |||||
authority_short_name = "Selby" | authority_short_name = "Selby" | ||||
base_url = "http://publicaccess.selby.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.selby.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "Sevenoaks District Council" | |||||
authority_short_name = "Sevenoaks" | authority_short_name = "Sevenoaks" | ||||
base_url = "http://publicaccess.sevenoaks.gov.uk/publicaccess/tdc/" | base_url = "http://publicaccess.sevenoaks.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "South Bedfordshire District Council" | |||||
authority_short_name = "South Bedfordshire" | authority_short_name = "South Bedfordshire" | ||||
base_url = "http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | base_url = "http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import AcolnetParser | import AcolnetParser | ||||
parser = AcolnetParser.SouthBedfordshireParser(authority_name, authority_short_name, base_url) | parser = AcolnetParser.SouthBedfordshireParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "South Bucks District Council" | |||||
authority_short_name = "South Bucks" | authority_short_name = "South Bucks" | ||||
base_url = "http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/" | base_url = "http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import PublicAccess | import PublicAccess | ||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |
@@ -18,12 +18,16 @@ authority_name = "South Lakeland District Council" | |||||
authority_short_name = "South Lakeland" | authority_short_name = "South Lakeland" | ||||
base_url = "http://www.southlakeland.gov.uk/fastweb/" | base_url = "http://www.southlakeland.gov.uk/fastweb/" | ||||
#print "Content-Type: text/html" # HTML is following | |||||
import FastWeb | import FastWeb | ||||
parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url) | ||||
xml = parser.getResults(day, month, year) | xml = parser.getResults(day, month, year) | ||||
print "Content-Type: text/xml" # XML is following | print "Content-Type: text/xml" # XML is following | ||||
print xml # print the xml | print xml # print the xml |