Bladeren bron

fixed up islington

master
memespring 17 jaren geleden
bovenliggende
commit
231d976dcd
10 gewijzigde bestanden met toevoegingen van 25 en 21 verwijderingen
  1. +1
    -1
      data/%%45^45E^45E480CD%%index.tpl.php
  2. +1
    -1
      data/%%6D^6DB^6DB28CFA%%about.tpl.php
  3. +1
    -1
      data/%%D2^D26^D26D8BFE%%xml.tpl.php
  4. +2
    -4
      data/%%F7^F75^F752BDC0%%getinvolved.tpl.php
  5. +1
    -1
      data/%%F7^F7F^F7F34188%%header.tpl.php
  6. +1
    -1
      docs/confirmed.php
  7. +1
    -1
      docs/include/stats.php
  8. +1
    -8
      docs/scrapers/islington.php
  9. +2
    -2
      docs/templates/about.tpl
  10. +14
    -1
      docs/test.php

+ 1
- 1
data/%%45^45E^45E480CD%%index.tpl.php Bestand weergeven

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-07-12 07:12:04
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:09:29
compiled from index.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%6D^6DB^6DB28CFA%%about.tpl.php Bestand weergeven

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-07-12 07:08:16
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:13:09
compiled from about.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%D2^D26^D26D8BFE%%xml.tpl.php Bestand weergeven

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-05-22 18:21:22
<?php /* Smarty version 2.6.16, created on 2007-07-21 12:08:53
compiled from xml.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?>


+ 2
- 4
data/%%F7^F75^F752BDC0%%getinvolved.tpl.php Bestand weergeven

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-07-12 07:08:13
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:12:43
compiled from getinvolved.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
@@ -19,9 +19,7 @@ unset($_smarty_tpl_vars);
<p>
Other than that it's up to you. It can be in any language. You can host them yourself or we can host it for you.
</p>
<p><span class="highlight">You can grab the code for this site and view some developent tickets <a href="http://code.goo
gle.com/p/planningalerts/">here</a> and join our developer mailing list <a href="http://groups.google.com/group/planningaler
ts-dev"> here</a>.</span>
<p><span class="highlight">You can grab the code for this site and view some developent tickets <a href="http://code.google.com/p/planningalerts/">here</a> and join our developer mailing list <a href="http://groups.google.com/group/planningalerts-dev"> here</a>.</span>
</p>
<h3>I work for a local authority and would like to make our data available</h3>
<p>


+ 1
- 1
data/%%F7^F7F^F7F34188%%header.tpl.php Bestand weergeven

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-07-12 07:12:04
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:13:09
compiled from header.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


+ 1
- 1
docs/confirmed.php Bestand weergeven

@@ -19,7 +19,7 @@ class confirmed_page {
//Setup
function setup (){
//Grab the user
if(isset($_GET['cid'])){
$confirm_id = $_GET['cid'];


+ 1
- 1
docs/include/stats.php Bestand weergeven

@@ -27,7 +27,7 @@
}

//Count of authorities
$authority_sql = "select count(authority_id) from authority";
$authority_sql = "select count(authority_id) from authority where disabled = 0 or disabled is null";
$results = $db->getAll($authority_sql);
if(sizeof($results) >0){
$authority_count = $results[0][0];


+ 1
- 8
docs/scrapers/islington.php Bestand weergeven

@@ -32,15 +32,8 @@ if (isset($_GET['year'])){
//grab urls
$applications = scrape_applications_islington($search_url, $info_url_base, $comment_url_base);
//comment and info urls
$info_url_base = "http://www.blaby.gov.uk/publicaccess/dc/DcApplication/application_detailview.aspx?caseno=";
$comment_url_base = "http://www.blaby.gov.uk/publicaccess/dc/DcApplication/application_comments_entryform.aspx?caseno=";

print_r($applications);


//Display applications
// display_applications($applications, "Balby District Council", "Balby");
display_applications($applications, "London Borough of Islington", "Islington");

?>

+ 2
- 2
docs/templates/about.tpl Bestand weergeven

@@ -2,7 +2,7 @@

<p>You'd probably know if your next door neighbour was going to knock their house down (you'd get a letter through the door telling you they had applied for planning permission and asking you what you thought about it). But you probably never find out if the old cinema or pub 5 streets away is going to be converted into luxury flats until <a href="http://www.bbc.co.uk/cult/hitchhikers/gallery/tv/fordprosser.shtml">the bulldozers turned up</a>.</p>
<p>
PlanningAlerts.com is a free service built by <a href="http://www.memespring.co.uk">Richard Pope</a>, <a href="http://brainoff.com">Mikel Maron</a>, Sam Smith and Duncan Parkes. The site is kindly hosted by <a href="http://www.mysociety.org">mySociety.org</a>. It searches as many local authority planning websites as it can find and emails you details of applications near you. The aim of this to enable shared scrutiny of what is being built (and <a href="http://www.urban75.net/vbulletin/showthread.php?t=154006" title="Death of the Queen">knocked down</a>) in peoples communities.
PlanningAlerts.com is a free service built by <a href="http://www.memespring.co.uk">Richard Pope</a>, <a href="http://brainoff.com">Mikel Maron</a>, Sam Smith, Duncan Parkes and Tom Hughes. The site is kindly hosted by <a href="http://www.mysociety.org">mySociety.org</a>. It searches as many local authority planning websites as it can find and emails you details of applications near you. The aim of this to enable shared scrutiny of what is being built (and <a href="http://www.urban75.net/vbulletin/showthread.php?t=154006" title="Death of the Queen">knocked down</a>) in peoples communities.
</p>

<h3 id="authorities">Planning authorities currently covered by the service</h3>
@@ -23,4 +23,4 @@
You can get in touch at <a href="mailto:team@planningalerts.com">team@planningalerts.com</a>
</p>

{include file="footer.tpl"}
{include file="footer.tpl"}

+ 14
- 1
docs/test.php Bestand weergeven

@@ -2,6 +2,19 @@

require_once ("config.php");
print "testy test";
$xml = safe_scrape_page('http://www.wansbeck.gov.uk/planning.cfm?day=17&month=7&year=2007');

$parsed_applications = simplexml_load_string($xml);

//Loop through the applications, add tinyurl / google maps etc and add to array
if(sizeof($parsed_applications) >0){
foreach($parsed_applications->applications->application as $parsed_application){

}

}

print "ddd";

?>

Laden…
Annuleren
Opslaan