Automatically exported from code.google.com/p/planningalerts
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

hackney.php 849 B

1234567891011121314151617181920212223
  1. <?php
  2. //Includes
  3. require_once('config.php');
  4. require_once('application.php');
  5. //build date url
  6. $request_time = get_time_from_get();
  7. //search url
  8. $search_url = "http://idox.hackney.gov.uk/WAM/weeklyApplications.do?action=showWeeklyList&areaCode=%25&sortOrder=1&endDate=#enddate&applicationType=%25&Button=Search";
  9. $search_url = str_replace("#enddate", $request_time * 1000, $search_url);
  10. //comment and info urls
  11. $info_url_base = "http://idox.hackney.gov.uk/WAM/showCaseFile.do?action=show&appType=Planning&appNumber=";
  12. $comment_url_base = "http://idox.hackney.gov.uk/WAM/createComment.do?action=CreateApplicationComment&&applicationType=Planning&appNumber=";
  13. //grab urls
  14. $applications = scrape_applications_wam($search_url, $info_url_base, $comment_url_base, 2);
  15. display_applications($applications, "London Borough of Hackney", "Hackney");
  16. ?>