From f59015919258781403804555828eb03f27db0bf9 Mon Sep 17 00:00:00 2001 From: memespring Date: Mon, 9 Apr 2007 16:16:39 +0000 Subject: [PATCH] expanded the api (still need to test some stuff) --- data/%%45^45E^45E480CD%%index.tpl.php | 3 +- data/%%6D^6DB^6DB28CFA%%about.tpl.php | 2 +- data/%%AD^AD7^AD71B708%%rss.tpl.php | 2 +- data/%%F7^F75^F752BDC0%%getinvolved.tpl.php | 9 +- data/%%F7^F7F^F7F34188%%header.tpl.php | 2 +- docs/api.php | 118 ++++++-- docs/css/main.css | 12 +- docs/include/application.php | 284 +++++++++++--------- docs/include/scraper_support.php | 4 + docs/templates/apihowto.tpl | 120 +++++++-- docs/templates/faq.tpl | 10 +- docs/templates/footer.tpl | 3 +- python_scrapers/PublicAccess.py | 2 +- python_scrapers/SouthOxfordshire.cgi | 2 +- python_scrapers/generateCGIScripts.py | 2 +- 15 files changed, 397 insertions(+), 178 deletions(-) diff --git a/data/%%45^45E^45E480CD%%index.tpl.php b/data/%%45^45E^45E480CD%%index.tpl.php index d5481d1..3b96151 100644 --- a/data/%%45^45E^45E480CD%%index.tpl.php +++ b/data/%%45^45E^45E480CD%%index.tpl.php @@ -1,4 +1,4 @@ - _tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); @@ -54,6 +54,7 @@ unset($_smarty_tpl_vars);

Recent site updates

- Hosted by MySociety + Open Data + Hosted by MySociety
{if $onloadscript !="" || $set_focus_control !=""} diff --git a/python_scrapers/PublicAccess.py b/python_scrapers/PublicAccess.py index 460ad10..1dc7341 100644 --- a/python_scrapers/PublicAccess.py +++ b/python_scrapers/PublicAccess.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/local/bin/python import urllib, urllib2 import HTMLParser diff --git a/python_scrapers/SouthOxfordshire.cgi b/python_scrapers/SouthOxfordshire.cgi index 6e0322a..c2c615e 100755 --- a/python_scrapers/SouthOxfordshire.cgi +++ b/python_scrapers/SouthOxfordshire.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/local/bin/python import cgi import cgitb; cgitb.enable(display=0, logdir="/tmp") diff --git a/python_scrapers/generateCGIScripts.py b/python_scrapers/generateCGIScripts.py index 3b79521..3c6129e 100755 --- a/python_scrapers/generateCGIScripts.py +++ b/python_scrapers/generateCGIScripts.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/local/bin/python list_of_sites_filename = "PublicAccessSites.csv" other_files_to_copy_filename = "OtherFilesToCopy.csv"