From 33c45eb11227d1c9ff4d17b1d7e121c2a1049d47 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 :-) --- docs/scrapers/durham.php | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 docs/scrapers/durham.php diff --git a/docs/scrapers/durham.php b/docs/scrapers/durham.php new file mode 100644 index 0000000..bb736ad --- /dev/null +++ b/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