@@ -0,0 +1,29 @@ | |||||
#!/usr/local/bin/python | |||||
# This is the parser for Caradon District Council. | |||||
# it is generated from the file CGITemplate | |||||
import cgi | |||||
import cgitb | |||||
#cgitb.enable(display=0, logdir="/tmp") | |||||
form = cgi.FieldStorage() | |||||
day = form.getfirst('day') | |||||
month = form.getfirst('month') | |||||
year = form.getfirst('year') | |||||
authority_name = "Caradon District Council" | |||||
authority_short_name = "Caradon" | |||||
base_url = "http://publicaccess.caradon.gov.uk/publicaccess/tdc/" | |||||
import PublicAccess | |||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | |||||
xml = parser.getResults(day, month, year) | |||||
print "Content-Type: text/xml" # XML is following | |||||
print xml # print the xml |
@@ -0,0 +1,29 @@ | |||||
#!/usr/local/bin/python | |||||
# This is the parser for Hambleton District Council. | |||||
# it is generated from the file CGITemplate | |||||
import cgi | |||||
import cgitb | |||||
#cgitb.enable(display=0, logdir="/tmp") | |||||
form = cgi.FieldStorage() | |||||
day = form.getfirst('day') | |||||
month = form.getfirst('month') | |||||
year = form.getfirst('year') | |||||
authority_name = "Hambleton District Council" | |||||
authority_short_name = "Hambleton" | |||||
base_url = "http://planning.hambleton.gov.uk/publicaccess/tdc/" | |||||
import PublicAccess | |||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | |||||
xml = parser.getResults(day, month, year) | |||||
print "Content-Type: text/xml" # XML is following | |||||
print xml # print the xml |
@@ -0,0 +1,29 @@ | |||||
#!/usr/local/bin/python | |||||
# This is the parser for Moray Council. | |||||
# it is generated from the file CGITemplate | |||||
import cgi | |||||
import cgitb | |||||
#cgitb.enable(display=0, logdir="/tmp") | |||||
form = cgi.FieldStorage() | |||||
day = form.getfirst('day') | |||||
month = form.getfirst('month') | |||||
year = form.getfirst('year') | |||||
authority_name = "Moray Council" | |||||
authority_short_name = "Moray" | |||||
base_url = "http://public.moray.gov.uk/publicaccess/tdc/" | |||||
import PublicAccess | |||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | |||||
xml = parser.getResults(day, month, year) | |||||
print "Content-Type: text/xml" # XML is following | |||||
print xml # print the xml |
@@ -0,0 +1,29 @@ | |||||
#!/usr/local/bin/python | |||||
# This is the parser for Perth and Kinross Council. | |||||
# it is generated from the file CGITemplate | |||||
import cgi | |||||
import cgitb | |||||
#cgitb.enable(display=0, logdir="/tmp") | |||||
form = cgi.FieldStorage() | |||||
day = form.getfirst('day') | |||||
month = form.getfirst('month') | |||||
year = form.getfirst('year') | |||||
authority_name = "Perth and Kinross Council" | |||||
authority_short_name = "Perthshire" | |||||
base_url = "http://193.63.61.22/publicaccess/tdc/" | |||||
import PublicAccess | |||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | |||||
xml = parser.getResults(day, month, year) | |||||
print "Content-Type: text/xml" # XML is following | |||||
print xml # print the xml |
@@ -0,0 +1,29 @@ | |||||
#!/usr/local/bin/python | |||||
# This is the parser for Watford Borough Council. | |||||
# it is generated from the file CGITemplate | |||||
import cgi | |||||
import cgitb | |||||
#cgitb.enable(display=0, logdir="/tmp") | |||||
form = cgi.FieldStorage() | |||||
day = form.getfirst('day') | |||||
month = form.getfirst('month') | |||||
year = form.getfirst('year') | |||||
authority_name = "Watford Borough Council" | |||||
authority_short_name = "Watford" | |||||
base_url = "http://ww3.watford.gov.uk/publicaccess/tdc/" | |||||
import PublicAccess | |||||
parser = PublicAccess.PublicAccessParser(authority_name, authority_short_name, base_url) | |||||
xml = parser.getResults(day, month, year) | |||||
print "Content-Type: text/xml" # XML is following | |||||
print xml # print the xml |
@@ -121,4 +121,9 @@ | |||||
"London Borough of Sutton", "Sutton", "http://82.43.4.135/FASTWEB/", "FastWeb", "FastWeb" | "London Borough of Sutton", "Sutton", "http://82.43.4.135/FASTWEB/", "FastWeb", "FastWeb" | ||||
"Welwyn-Hatfield District Council", "Welwyn-Hatfield", "https://fastweb.welhat.gov.uk/", "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" | "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" | |||||
"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" |