Automatically exported from code.google.com/p/planningalerts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 rivejä
421 B

  1. <?php
  2. require_once ("config.php");
  3. $xml = safe_scrape_page('http://www.wansbeck.gov.uk/planning.cfm?day=17&month=7&year=2007');
  4. $parsed_applications = simplexml_load_string($xml);
  5. //Loop through the applications, add tinyurl / google maps etc and add to array
  6. if(sizeof($parsed_applications) >0){
  7. foreach($parsed_applications->applications->application as $parsed_application){
  8. }
  9. }
  10. print "ddd";
  11. ?>