From ce20c6e430b2f7e486e33b5f8c57a158a29dee63 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Fri, 6 Jun 2008 16:44:26 +0000 Subject: [PATCH] Add durham php scraper to see if it works :-) --- trunk/docs/scrapers/durham.php | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 trunk/docs/scrapers/durham.php diff --git a/trunk/docs/scrapers/durham.php b/trunk/docs/scrapers/durham.php new file mode 100644 index 0000000..bb736ad --- /dev/null +++ b/trunk/docs/scrapers/durham.php @@ -0,0 +1,50 @@ +force_compile = true; + $smarty->compile_dir = SMARTY_COMPILE_DIRECTORY; + $smarty->template_dir = "../templates"; + $smarty->assign("authority_name", "Durham City Council"); + $smarty->assign("authority_short_name", "Durham"); + + if (sizeof($applications) > 0){ + $smarty->assign("applications", $applications); + } + + $smarty->display("xml.tpl"); + +?> \ No newline at end of file