From: maxious Date: Wed, 20 Jul 2011 11:46:30 +0000 Subject: Fix geositemap X-Git-Url: http://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=6a51bda5f70afdfb472e3ed766f0a7a8e4733249 --- Fix geositemap --- --- a/sitemap.xml.php +++ b/sitemap.xml.php @@ -3,10 +3,13 @@ $last_updated = date('Y-m-d',@filemtime('cbrfeed.zip')); header("Content-Type: text/xml"); echo ""; - echo '' . "\n"; + echo '' . "\n"; echo " ".curPageURL()."index.php1.0\n"; foreach (scandir("./") as $file) { if (strpos($file,".php") !== false && $file != "index.php" && $file != "sitemap.xml.php") echo " ".curPageURL()."$file0.3\n"; +} +foreach (scandir("./labs") as $file) { + if (strpos($file,".php") !== false) echo " ".curPageURL()."/labs/$file0.3\n"; } foreach (getStops() as $stop) { echo " ".curPageURL()."stop.php?stopid=".htmlspecialchars ($stop["stop_id"]).""; --- a/updatedb.php +++ b/updatedb.php @@ -1,4 +1,5 @@