From 67250a43bcefd96a3551d305537aa78b5f0cc728 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) --- trunk/data/%%45^45E^45E480CD%%index.tpl.php | 3 +- trunk/data/%%6D^6DB^6DB28CFA%%about.tpl.php | 2 +- trunk/data/%%AD^AD7^AD71B708%%rss.tpl.php | 2 +- .../%%F7^F75^F752BDC0%%getinvolved.tpl.php | 9 +- trunk/data/%%F7^F7F^F7F34188%%header.tpl.php | 2 +- trunk/docs/api.php | 118 ++++++-- trunk/docs/css/main.css | 12 +- trunk/docs/include/application.php | 284 ++++++++++-------- trunk/docs/include/scraper_support.php | 4 + trunk/docs/templates/apihowto.tpl | 120 ++++++-- trunk/docs/templates/faq.tpl | 10 +- trunk/docs/templates/footer.tpl | 3 +- trunk/python_scrapers/PublicAccess.py | 2 +- trunk/python_scrapers/SouthOxfordshire.cgi | 2 +- trunk/python_scrapers/generateCGIScripts.py | 2 +- 15 files changed, 397 insertions(+), 178 deletions(-) diff --git a/trunk/data/%%45^45E^45E480CD%%index.tpl.php b/trunk/data/%%45^45E^45E480CD%%index.tpl.php index d5481d1..3b96151 100644 --- a/trunk/data/%%45^45E^45E480CD%%index.tpl.php +++ b/trunk/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/trunk/python_scrapers/PublicAccess.py b/trunk/python_scrapers/PublicAccess.py index 460ad10..1dc7341 100644 --- a/trunk/python_scrapers/PublicAccess.py +++ b/trunk/python_scrapers/PublicAccess.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/local/bin/python import urllib, urllib2 import HTMLParser diff --git a/trunk/python_scrapers/SouthOxfordshire.cgi b/trunk/python_scrapers/SouthOxfordshire.cgi index 6e0322a..c2c615e 100755 --- a/trunk/python_scrapers/SouthOxfordshire.cgi +++ b/trunk/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/trunk/python_scrapers/generateCGIScripts.py b/trunk/python_scrapers/generateCGIScripts.py index 3b79521..3c6129e 100755 --- a/trunk/python_scrapers/generateCGIScripts.py +++ b/trunk/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"