<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>geobank/LICENSE</filename>
    </added>
    <added>
      <filename>geobank/cibc.php</filename>
    </added>
    <added>
      <filename>geobank/citizensbank.php</filename>
    </added>
    <added>
      <filename>geobank/img/bmo.png</filename>
    </added>
    <added>
      <filename>geobank/img/cibc.png</filename>
    </added>
    <added>
      <filename>geobank/img/citizensbank.png</filename>
    </added>
    <added>
      <filename>geobank/img/pc.png</filename>
    </added>
    <added>
      <filename>geobank/img/rbc.png</filename>
    </added>
    <added>
      <filename>geobank/img/td.png</filename>
    </added>
    <added>
      <filename>geobank/index.html</filename>
    </added>
    <added>
      <filename>geobank/pc.php</filename>
    </added>
    <added>
      <filename>geobank/plot.php</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,28 @@
 &lt;?php
 
-header('Content-type: text/plain');
+/*
+    bmo.php - Bank of Montreal web scraper for ABM Locator
+
+    Copyright (C) 2007  Stephen Paul Weber
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as
+    published by the Free Software Foundation, either version 3 of the
+    License, or (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
 
 function bank_bmo($province,$city) {
 
 	$rtrn = array();//return data in this
 
-	//get crap from bank
 	$ch = curl_init('http://www4.bmo.com/bmo/tools/ABMLocator/step2');
 	curl_setopt($ch, CURLOPT_RETURNTRANSFER,TRUE);
 	curl_setopt($ch, CURLOPT_POST, TRUE);
@@ -35,6 +51,4 @@ function bank_bmo($province,$city) {
 
 }//bank_bmo
 
-var_dump(bank_bmo('BC', 'Richmond'));
-
 ?&gt;</diff>
      <filename>geobank/bmo.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,25 @@
 &lt;?php
 
-header('Content-type: text/plain');
+/*
+    cibc-pc.php - CIBC and PC Financial web scraper for ABM Locator
 
+    Copyright (C) 2007  Stephen Paul Weber
 
-function bank_infonow($province,$city,$bank) {
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as
+    published by the Free Software Foundation, either version 3 of the
+    License, or (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
+
+function bank_cibc_pc($province,$city,$bank) {
 
 	$infonow_urls = array();
 	$infonow_urls['cibc'] = array();
@@ -17,7 +33,6 @@ function bank_infonow($province,$city,$bank) {
 
 	$rtrn = array();//return data in this
 
-	//get crap from bank
 	$ch = curl_init($infonow_urls[$bank]['form']);
 	curl_setopt($ch, CURLOPT_RETURNTRANSFER,TRUE);
 	$result = curl_exec($ch);
@@ -32,7 +47,7 @@ function bank_infonow($province,$city,$bank) {
 
 	$ch = curl_init($url);
 	curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
-//	curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
+	//curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
 	curl_setopt($ch, CURLOPT_REFERER, $url);
 	curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
 	$result .= curl_exec($ch);
@@ -70,16 +85,6 @@ function bank_infonow($province,$city,$bank) {
 
 	return $rtrn;//return the data
 
-}//bank_infonow
-
-function bank_cibc($province, $city) {
-	return bank_infonow($province, $city, 'cibc');
-}//end bank_cibc
-
-function bank_pc($province, $city) {
-	return bank_infonow($province, $city, 'pc');
-}//end bank_pc
-
-var_dump(bank_pc('BC', 'Richmond'));
+}//bank_cibc_pc
 
 ?&gt;</diff>
      <filename>geobank/cibc-pc.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,23 @@
 &lt;?php
 
-header('Content-type: text/plain');
+/*
+    rbc.php - RBC web scraper for ABM Locator
+
+    Copyright (C) 2007  Stephen Paul Weber
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as
+    published by the Free Software Foundation, either version 3 of the
+    License, or (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
 
 function bank_rbc($province,$city) {
 
@@ -34,6 +51,4 @@ function bank_rbc($province,$city) {
 
 }//bank_rbc
 
-var_dump(bank_rbc('ON', 'Waterloo'));
-
 ?&gt;</diff>
      <filename>geobank/rbc.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,28 @@
 &lt;?php
 
-header('Content-type: text/plain');
+/*
+    scotiabank.php - Scotiabank web scraper for ABM Locator
+
+    Copyright (C) 2007  Stephen Paul Weber
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as
+    published by the Free Software Foundation, either version 3 of the
+    License, or (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
 
 function bank_scotiabank($province,$city) {
 
 	$rtrn = array();//return data in this
 
-	//get crap from bank
 	$ch = curl_init('http://locator.scotiabank.com/ScotiaExt/Container.asp');
 	curl_setopt($ch, CURLOPT_RETURNTRANSFER,TRUE);
 	curl_setopt($ch, CURLOPT_POST, TRUE);
@@ -24,6 +40,4 @@ var_dump($result);
 
 }//bank_scotiabank
 
-var_dump(bank_scotiabank('BC', 'Richmond'));
-
 ?&gt;</diff>
      <filename>geobank/scotiabank.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,28 @@
 &lt;?php
 
-header('Content-type: text/plain');
+/*
+    td.php - TD Canada Trust web scraper for ABM Locator
+
+    Copyright (C) 2007  Stephen Paul Weber
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Affero General Public License as
+    published by the Free Software Foundation, either version 3 of the
+    License, or (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Affero General Public License for more details.
+
+    You should have received a copy of the GNU Affero General Public License
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
 
 function bank_td($province,$city) {
 
 	$rtrn = array();//return data in this
 
-	//get crap from bank
 	$ch = curl_init('https://tdbank.infonow.net/bin/findNow?CLIENT_ID=TD_BRANCH_CAN');
 	curl_setopt($ch, CURLOPT_RETURNTRANSFER,TRUE);
 	$result = curl_exec($ch);
@@ -57,6 +73,4 @@ function bank_td($province,$city) {
 
 }//bank_td
 
-var_dump(bank_td('BC', 'Richmond'));
-
 ?&gt;</diff>
      <filename>geobank/td.php</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>geobank/citizenbank.php</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>e3c7846449fb406dca1749798c05209125130338</id>
    </parent>
  </parents>
  <author>
    <name>Stephen Paul Weber</name>
    <email>singpolyma@singpolyma.net</email>
  </author>
  <url>http://github.com/singpolyma/singpolyma/commit/3143032674c3835214f418655a0919904399bc37</url>
  <id>3143032674c3835214f418655a0919904399bc37</id>
  <committed-date>2007-12-08T15:11:37-08:00</committed-date>
  <authored-date>2007-12-08T15:11:37-08:00</authored-date>
  <message>Plotter code</message>
  <tree>aa14136d7a262e8a67a80107c80b2f9cca3cb566</tree>
  <committer>
    <name>Stephen Paul Weber</name>
    <email>singpolyma@singpolyma.net</email>
  </committer>
</commit>
