Browse Source

add some debug

master
duncan.parkes 17 years ago
parent
commit
d38bc68701
100 changed files with 450 additions and 4 deletions
  1. +54
    -4
      cgi-bin/AcolnetParser.py
  2. +4
    -0
      cgi-bin/Allerdale.cgi
  3. +4
    -0
      cgi-bin/Alnwick.cgi
  4. +4
    -0
      cgi-bin/Angus.cgi
  5. +4
    -0
      cgi-bin/Aylesbury Vale.cgi
  6. +4
    -0
      cgi-bin/Babergh.cgi
  7. +4
    -0
      cgi-bin/Barrow.cgi
  8. +4
    -0
      cgi-bin/Basildon.cgi
  9. +4
    -0
      cgi-bin/Basingstoke and Deane.cgi
  10. +4
    -0
      cgi-bin/Bassetlaw.cgi
  11. +4
    -0
      cgi-bin/Bath.cgi
  12. +4
    -0
      cgi-bin/Bexley.cgi
  13. +4
    -0
      cgi-bin/Blaby.cgi
  14. +4
    -0
      cgi-bin/Bolsover.cgi
  15. +4
    -0
      cgi-bin/Bracknell Forest.cgi
  16. +4
    -0
      cgi-bin/Bridgnorth.cgi
  17. +4
    -0
      cgi-bin/Bristol.cgi
  18. +4
    -0
      cgi-bin/Broads.cgi
  19. +4
    -0
      cgi-bin/Bromley.cgi
  20. +4
    -0
      cgi-bin/Buckinghamshire.cgi
  21. +4
    -0
      cgi-bin/Bury.cgi
  22. +4
    -0
      cgi-bin/Caradon.cgi
  23. +4
    -0
      cgi-bin/Carlisle.cgi
  24. +4
    -0
      cgi-bin/Chelmsford.cgi
  25. +4
    -0
      cgi-bin/Cherwell.cgi
  26. +4
    -0
      cgi-bin/Chiltern.cgi
  27. +4
    -0
      cgi-bin/Chorley.cgi
  28. +4
    -0
      cgi-bin/City of London.cgi
  29. +4
    -0
      cgi-bin/Cornwall.cgi
  30. +4
    -0
      cgi-bin/Coventry.cgi
  31. +4
    -0
      cgi-bin/Craven.cgi
  32. +4
    -0
      cgi-bin/Croydon.cgi
  33. +4
    -0
      cgi-bin/Denbighshire.cgi
  34. +4
    -0
      cgi-bin/Derby.cgi
  35. +4
    -0
      cgi-bin/Doncaster.cgi
  36. +4
    -0
      cgi-bin/Dundee.cgi
  37. +4
    -0
      cgi-bin/Durham.cgi
  38. +4
    -0
      cgi-bin/Ealing.cgi
  39. +4
    -0
      cgi-bin/Easington.cgi
  40. +4
    -0
      cgi-bin/East Devon.cgi
  41. +4
    -0
      cgi-bin/East Dorset.cgi
  42. +4
    -0
      cgi-bin/East Lindsey.cgi
  43. +4
    -0
      cgi-bin/Eastleigh.cgi
  44. +4
    -0
      cgi-bin/Eden.cgi
  45. +4
    -0
      cgi-bin/Edinburgh.cgi
  46. +4
    -0
      cgi-bin/Epsom and Ewell.cgi
  47. +4
    -0
      cgi-bin/Fenland.cgi
  48. +4
    -0
      cgi-bin/Fylde.cgi
  49. +4
    -0
      cgi-bin/Gateshead.cgi
  50. +4
    -0
      cgi-bin/Gedling.cgi
  51. +4
    -0
      cgi-bin/Gloucestershire.cgi
  52. +4
    -0
      cgi-bin/Gravesham.cgi
  53. +4
    -0
      cgi-bin/Hambleton.cgi
  54. +4
    -0
      cgi-bin/Hammersmith and Fulham.cgi
  55. +4
    -0
      cgi-bin/Haringey.cgi
  56. +4
    -0
      cgi-bin/Harlow.cgi
  57. +4
    -0
      cgi-bin/Harrogate.cgi
  58. +4
    -0
      cgi-bin/Hart.cgi
  59. +4
    -0
      cgi-bin/Hartlepool.cgi
  60. +4
    -0
      cgi-bin/Hertsmere.cgi
  61. +4
    -0
      cgi-bin/High Peak.cgi
  62. +4
    -0
      cgi-bin/Hinkley and Bosworth.cgi
  63. +4
    -0
      cgi-bin/Huntingdonshire.cgi
  64. +4
    -0
      cgi-bin/Kerrier.cgi
  65. +4
    -0
      cgi-bin/Knowsley.cgi
  66. +4
    -0
      cgi-bin/Lancaster.cgi
  67. +4
    -0
      cgi-bin/Lewisham.cgi
  68. +4
    -0
      cgi-bin/Luton.cgi
  69. +4
    -0
      cgi-bin/Malvern Hills.cgi
  70. +4
    -0
      cgi-bin/Manchester.cgi
  71. +4
    -0
      cgi-bin/Mansfield.cgi
  72. +4
    -0
      cgi-bin/Mid Devon.cgi
  73. +4
    -0
      cgi-bin/Milton Keynes.cgi
  74. +4
    -0
      cgi-bin/Moray.cgi
  75. +4
    -0
      cgi-bin/NW Leicestershire.cgi
  76. +4
    -0
      cgi-bin/New Forest DC.cgi
  77. +4
    -0
      cgi-bin/New Forest NP.cgi
  78. +4
    -0
      cgi-bin/Newcastle-under-Lyme.cgi
  79. +4
    -0
      cgi-bin/Newcastle.cgi
  80. +4
    -0
      cgi-bin/Newham.cgi
  81. +4
    -0
      cgi-bin/North Hertfordshire.cgi
  82. +4
    -0
      cgi-bin/North Tyneside.cgi
  83. +4
    -0
      cgi-bin/North Warwickshire.cgi
  84. +4
    -0
      cgi-bin/North Wiltshire.cgi
  85. +4
    -0
      cgi-bin/Northumberland.cgi
  86. +4
    -0
      cgi-bin/Oadby and Wigston.cgi
  87. +4
    -0
      cgi-bin/Oldham.cgi
  88. +4
    -0
      cgi-bin/Oswestry.cgi
  89. +4
    -0
      cgi-bin/Perthshire.cgi
  90. +4
    -0
      cgi-bin/Peterborough.cgi
  91. +4
    -0
      cgi-bin/Portsmouth.cgi
  92. +4
    -0
      cgi-bin/Redditch.cgi
  93. +4
    -0
      cgi-bin/Renfrewshire.cgi
  94. +4
    -0
      cgi-bin/Rushmoor.cgi
  95. +4
    -0
      cgi-bin/Scarborough.cgi
  96. +4
    -0
      cgi-bin/Selby.cgi
  97. +4
    -0
      cgi-bin/Sevenoaks.cgi
  98. +4
    -0
      cgi-bin/South Bedfordshire.cgi
  99. +4
    -0
      cgi-bin/South Bucks.cgi
  100. +4
    -0
      cgi-bin/South Lakeland.cgi

+ 54
- 4
cgi-bin/AcolnetParser.py View File

@@ -4,6 +4,11 @@ import urllib, urllib2
import HTMLParser
#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 re
@@ -154,9 +159,20 @@ class AcolnetParser(HTMLParser.HTMLParser):
elif tag == "td":
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):
# 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()

#outfile = open("tmpfile", "w")
@@ -418,16 +434,50 @@ class SuffolkCoastalParser(AcolnetParser):
comments_email_address = "d.c.admin@suffolkcoastal.gov.uk"

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
reg_date_tr = 2
location_tr = 4
proposal_tr = 5

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__':
day = 15
month = 3
day = 31
month = 8
year = 2007

# returns error 400 - bad request
@@ -440,6 +490,6 @@ if __name__ == '__main__':
# 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")
print parser.getResults(day, month, year)

+ 4
- 0
cgi-bin/Allerdale.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Allerdale Borough Council"
authority_short_name = "Allerdale"
base_url = "http://planning.allerdale.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.AllerdaleSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Alnwick.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Alnwick District Council"
authority_short_name = "Alnwick"
base_url = "http://services.castlemorpeth.gov.uk:7777/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.AlnwickSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Angus.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Angus Council"
authority_short_name = "Angus"
base_url = "http://planning.angus.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Aylesbury Vale.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Aylesbury Vale District Council"
authority_short_name = "Aylesbury Vale"
base_url = "http://eplanning.aylesburyvaledc.gov.uk/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Babergh.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Babergh District Council"
authority_short_name = "Babergh"
base_url = "http://planning.babergh.gov.uk/dataOnlinePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.BaberghParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Barrow.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Barrow Borough Council"
authority_short_name = "Barrow"
base_url = "http://localportal.barrowbc.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.BarrowSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Basildon.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Basildon District Council"
authority_short_name = "Basildon"
base_url = "http://planning.basildon.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Basingstoke and Deane.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Basingstoke and Deane Borough Council"
authority_short_name = "Basingstoke and Deane"
base_url = "http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.BasingstokeParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Bassetlaw.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bassetlaw District Council"
authority_short_name = "Bassetlaw"
base_url = "http://www.bassetlaw.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.BassetlawParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Bath.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bath and North East Somerset"
authority_short_name = "Bath"
base_url = "http://planning.bathnes.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bexley.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bexley Council"
authority_short_name = "Bexley"
base_url = "http://publicaccess.bexley.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Blaby.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Blaby District Council"
authority_short_name = "Blaby"
base_url = "http://www.blaby.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bolsover.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bolsover District Council"
authority_short_name = "Bolsover"
base_url = "http://217.158.161.181/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bracknell Forest.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bracknell Forest Borough Council"
authority_short_name = "Bracknell Forest"
base_url = "https://my.bracknell-forest.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bridgnorth.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bridgnorth District Council"
authority_short_name = "Bridgnorth"
base_url = "http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.BridgnorthParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Bristol.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bristol City Council"
authority_short_name = "Bristol"
base_url = "http://e2eweb.bristol-city.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Broads.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Broads Authority"
authority_short_name = "Broads"
base_url = "https://planning.broads-authority.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bromley.cgi View File

@@ -18,12 +18,16 @@ authority_name = "London Borough of Bromley"
authority_short_name = "Bromley"
base_url = "http://planningaccess.bromley.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Buckinghamshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Buckinghamshire County Council"
authority_short_name = "Buckinghamshire"
base_url = "http://www.bucksplanning.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Bury.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Bury Metropolitan Borough Council"
authority_short_name = "Bury"
base_url = "http://e-planning.bury.gov.uk/ePlanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.BuryParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Caradon.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Caradon District Council"
authority_short_name = "Caradon"
base_url = "http://publicaccess.caradon.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Carlisle.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Carlisle City Council"
authority_short_name = "Carlisle"
base_url = "http://planning.carlisle.gov.uk/acolnet/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.CarlisleParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Chelmsford.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Chelmsford Borough Council"
authority_short_name = "Chelmsford"
base_url = "http://web1.chelmsfordbc.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Cherwell.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Cherwell District Council"
authority_short_name = "Cherwell"
base_url = "http://cherweb.cherwell-dc.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Chiltern.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Chiltern District Council"
authority_short_name = "Chiltern"
base_url = "https://isa.chiltern.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Chorley.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Chorley Borough Council"
authority_short_name = "Chorley"
base_url = "http://planning.chorley.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/City of London.cgi View File

@@ -18,12 +18,16 @@ authority_name = "City of London"
authority_short_name = "City of London"
base_url = "http://www.planning.cityoflondon.gov.uk/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Cornwall.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Cornwall County Council"
authority_short_name = "Cornwall"
base_url = "http://planapps.cornwall.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Coventry.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Coventry City Council"
authority_short_name = "Coventry"
base_url = "http://planning.coventry.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.CoventrySearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Craven.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Craven District Council"
authority_short_name = "Craven"
base_url = "http://www.planning.cravendc.gov.uk/fastweb/"

#print "Content-Type: text/html" # HTML is following
#print

import FastWeb

parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Croydon.cgi View File

@@ -18,12 +18,16 @@ authority_name = "London Borough of Croydon"
authority_short_name = "Croydon"
base_url = "http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.CroydonParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Denbighshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Denbighshire County Council"
authority_short_name = "Denbighshire"
base_url = "http://planning.denbighshire.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.DenbighshireSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Derby.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Derby City Council"
authority_short_name = "Derby"
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
#print

import AcolnetParser

parser = AcolnetParser.DerbyParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Doncaster.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Doncaster Metropolitan Borough Council"
authority_short_name = "Doncaster"
base_url = "http://maps.doncaster.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Dundee.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Dundee City Council"
authority_short_name = "Dundee"
base_url = "http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Durham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Durham City Council"
authority_short_name = "Durham"
base_url = "http://publicaccess.durhamcity.gov.uk/publicaccess/dc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Ealing.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Ealing Council"
authority_short_name = "Ealing"
base_url = "http://www.pam.ealing.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.EalingSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Easington.cgi View File

@@ -18,12 +18,16 @@ authority_name = "District of Easington"
authority_short_name = "Easington"
base_url = "http://planning.easington.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.EasingtonSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/East Devon.cgi View File

@@ -18,12 +18,16 @@ authority_name = "East Devon District Council"
authority_short_name = "East Devon"
base_url = "http://planning.eastdevon.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/East Dorset.cgi View File

@@ -18,12 +18,16 @@ authority_name = "East Dorset District Council"
authority_short_name = "East Dorset"
base_url = "http://193.243.228.16/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/East Lindsey.cgi View File

@@ -18,12 +18,16 @@ authority_name = "East Lindsey District Council"
authority_short_name = "East Lindsey"
base_url = "http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.EastLindseyParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Eastleigh.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Eastleigh Borough Council"
authority_short_name = "Eastleigh"
base_url = "http://www.eastleigh.gov.uk/FastWEB/"

#print "Content-Type: text/html" # HTML is following
#print

import FastWeb

parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Eden.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Eden District Council"
authority_short_name = "Eden"
base_url = "http://eforms.eden.gov.uk/fastweb/"

#print "Content-Type: text/html" # HTML is following
#print

import FastWeb

parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Edinburgh.cgi View File

@@ -18,12 +18,16 @@ authority_name = "The City of Edinburgh Council"
authority_short_name = "Edinburgh"
base_url = "http://citydev-portal.edinburgh.gov.uk/publicaccess/dc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Epsom and Ewell.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Epsom and Ewell Borough Council"
authority_short_name = "Epsom and Ewell"
base_url = "http://eplanning.epsom-ewell.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Fenland.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Fenland District Council"
authority_short_name = "Fenland"
base_url = "http://www.fenland.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Fylde.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Fylde Borough Council"
authority_short_name = "Fylde"
base_url = "http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.FyldeParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Gateshead.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Gateshead Metropolitan Borough Council"
authority_short_name = "Gateshead"
base_url = "http://planning.gateshead.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Gedling.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Gedling Borough Council"
authority_short_name = "Gedling"
base_url = "http://publicaccess.gedling.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Gloucestershire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Gloucestershire County Council"
authority_short_name = "Gloucestershire"
base_url = "http://planning.gloucestershire.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Gravesham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Gravesham Borough Council"
authority_short_name = "Gravesham"
base_url = "http://195.102.67.4/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Hambleton.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Hambleton District Council"
authority_short_name = "Hambleton"
base_url = "http://planning.hambleton.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Hammersmith and Fulham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "London Borough Of Hammersmith and Fulham"
authority_short_name = "Hammersmith and Fulham"
base_url = "http://www.apps.lbhf.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Haringey.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Haringey Council"
authority_short_name = "Haringey"
base_url = "http://www.planningservices.haringey.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.HaringeySearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Harlow.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Harlow Council"
authority_short_name = "Harlow"
base_url = "http://planning.harlow.gov.uk/PlanningSearch/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.HarlowParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Harrogate.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Harrogate Borough Council"
authority_short_name = "Harrogate"
base_url = "http://publicaccess.harrogate.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Hart.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Hart District Council"
authority_short_name = "Hart"
base_url = "http://publicaccess.hart.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Hartlepool.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Hartlepool Borough Council"
authority_short_name = "Hartlepool"
base_url = "http://eforms.hartlepool.gov.uk:7777/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.HartlepoolSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Hertsmere.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Hertsmere Borough Council"
authority_short_name = "Hertsmere"
base_url = "http://www2.hertsmere.gov.uk/ACOLNET/DCOnline//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.HertsmereParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/High Peak.cgi View File

@@ -18,12 +18,16 @@ authority_name = "High Peak Borough Council"
authority_short_name = "High Peak"
base_url = "http://planning.highpeak.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.HighPeakSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Hinkley and Bosworth.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Hinkley and Bosworth Borough Council"
authority_short_name = "Hinkley and Bosworth"
base_url = "https://cx.hinckley-bosworth.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Huntingdonshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Huntingdonshire District Council"
authority_short_name = "Huntingdonshire"
base_url = "http://planning.huntsdc.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Kerrier.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Kerrier District Council"
authority_short_name = "Kerrier"
base_url = "http://publicaccess.kerrier.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Knowsley.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Knowsley Council"
authority_short_name = "Knowsley"
base_url = "http://publicaccess.knowsley.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Lancaster.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Lancaster City Council"
authority_short_name = "Lancaster"
base_url = "http://planapps.lancaster.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Lewisham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "London Borough of Lewisham"
authority_short_name = "Lewisham"
base_url = "http://acolnet.lewisham.gov.uk/lewis-xslpagesdc/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.LewishamParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Luton.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Luton Borough Council"
authority_short_name = "Luton"
base_url = "http://www.eplan.luton.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Malvern Hills.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Malvern Hills District Council"
authority_short_name = "Malvern Hills"
base_url = "http://public.malvernhills.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Manchester.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Manchester City Council"
authority_short_name = "Manchester"
base_url = "http://www.publicaccess.manchester.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Mansfield.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Mansfield District Council"
authority_short_name = "Mansfield"
base_url = "http://www.mansfield.gov.uk/Fastweb23/"

#print "Content-Type: text/html" # HTML is following
#print

import FastWeb

parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Mid Devon.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Mid Devon District Council"
authority_short_name = "Mid Devon"
base_url = "http://planning.middevon.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Milton Keynes.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Milton Keynes Council"
authority_short_name = "Milton Keynes"
base_url = "http://publicaccess.milton-keynes.gov.uk/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Moray.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Moray Council"
authority_short_name = "Moray"
base_url = "http://public.moray.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/NW Leicestershire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "North West Leicestershire District Council"
authority_short_name = "NW Leicestershire"
base_url = "http://paccess.nwleics.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/New Forest DC.cgi View File

@@ -18,12 +18,16 @@ authority_name = "New Forest District Council"
authority_short_name = "New Forest DC"
base_url = "http://web3.newforest.gov.uk/planningonline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.NewForestDCParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/New Forest NP.cgi View File

@@ -18,12 +18,16 @@ authority_name = "New Forest National Park"
authority_short_name = "New Forest NP"
base_url = "http://web01.newforestnpa.gov.uk/planningpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.NewForestNPParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Newcastle-under-Lyme.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Newcastle-under-Lyme Borough Council"
authority_short_name = "Newcastle-under-Lyme"
base_url = "http://publicaccess.newcastle-staffs.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Newcastle.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Newcastle City Council"
authority_short_name = "Newcastle"
base_url = "http://gispublic.newcastle.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Newham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "London Borough Of Newham"
authority_short_name = "Newham"
base_url = "http://pacaps.newham.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/North Hertfordshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "North Hertfordshire District Council"
authority_short_name = "North Hertfordshire"
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
#print

import AcolnetParser

parser = AcolnetParser.NorthHertfordshireParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/North Tyneside.cgi View File

@@ -18,12 +18,16 @@ authority_name = "North Tyneside Council"
authority_short_name = "North Tyneside"
base_url = "http://publicaccess.northtyneside.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/North Warwickshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "North Warwickshire Borough Council"
authority_short_name = "North Warwickshire"
base_url = "http://planning.northwarks.gov.uk/"

#print "Content-Type: text/html" # HTML is following
#print

import ApplicationSearchServletParser

parser = ApplicationSearchServletParser.NorthWarksSearchParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/North Wiltshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "North Wiltshire District Council"
authority_short_name = "North Wiltshire"
base_url = "http://planning.northwilts.gov.uk/DCOnline/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.NorthWiltshireParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Northumberland.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Northumberland County Council"
authority_short_name = "Northumberland"
base_url = "http://planning.northumberland.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Oadby and Wigston.cgi View File

@@ -18,12 +18,16 @@ authority_name = "The Borough of Oadby and Wigston"
authority_short_name = "Oadby and Wigston"
base_url = "http://web.owbc.net/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Oldham.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Oldham District Council"
authority_short_name = "Oldham"
base_url = "http://planning.oldham.gov.uk/planning//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.OldhamParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Oswestry.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Oswestry Borough Council"
authority_short_name = "Oswestry"
base_url = "http://193.114.205.78/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Perthshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Perth and Kinross Council"
authority_short_name = "Perthshire"
base_url = "http://193.63.61.22/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Peterborough.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Peterborough City Council"
authority_short_name = "Peterborough"
base_url = "http://194.72.246.15/publicaccess/dc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Portsmouth.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Portsmouth City Council"
authority_short_name = "Portsmouth"
base_url = "http://planning.portsmouth.gov.uk/PublicAccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Redditch.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Redditch Borough Council"
authority_short_name = "Redditch"
base_url = "http://access.redditchbc.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Renfrewshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Renfrewshire Council"
authority_short_name = "Renfrewshire"
base_url = "http://planning.renfrewshire.gov.uk/acolnetDCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.RenfrewshireParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/Rushmoor.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Rushmoor Borough Council"
authority_short_name = "Rushmoor"
base_url = "http://pa-dc.rushmoor.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Scarborough.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Scarborough Borough Council"
authority_short_name = "Scarborough"
base_url = "http://planning.scarborough.gov.uk/publicaccess/dc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Selby.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Selby District Council"
authority_short_name = "Selby"
base_url = "http://publicaccess.selby.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/Sevenoaks.cgi View File

@@ -18,12 +18,16 @@ authority_name = "Sevenoaks District Council"
authority_short_name = "Sevenoaks"
base_url = "http://publicaccess.sevenoaks.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/South Bedfordshire.cgi View File

@@ -18,12 +18,16 @@ authority_name = "South Bedfordshire District Council"
authority_short_name = "South Bedfordshire"
base_url = "http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch"

#print "Content-Type: text/html" # HTML is following
#print

import AcolnetParser

parser = AcolnetParser.SouthBedfordshireParser(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

+ 4
- 0
cgi-bin/South Bucks.cgi View File

@@ -18,12 +18,16 @@ authority_name = "South Bucks District Council"
authority_short_name = "South Bucks"
base_url = "http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/"

#print "Content-Type: text/html" # HTML is following
#print

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
print xml # print the xml

+ 4
- 0
cgi-bin/South Lakeland.cgi View File

@@ -18,12 +18,16 @@ authority_name = "South Lakeland District Council"
authority_short_name = "South Lakeland"
base_url = "http://www.southlakeland.gov.uk/fastweb/"

#print "Content-Type: text/html" # HTML is following
#print

import FastWeb

parser = FastWeb.FastWeb(authority_name, authority_short_name, base_url)

xml = parser.getResults(day, month, year)


print "Content-Type: text/xml" # XML is following
print
print xml # print the xml

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save