--- a/sitemap.xml.php +++ b/sitemap.xml.php @@ -1,1 +1,25 @@ +"; +echo '' . "\n"; +echo " " . local_url() . "index.php1.0\n"; +foreach (scandir("./") as $file) { + if (strpos($file, ".php") !== false && $file != "index.php" && $file != "sitemap.xml.php") + echo " " . local_url() . "$file0.3\n"; +} +echo ''; + +$db = $server->get_db('disclosr-agencies'); +try { + $rows = $db->get_view("app", "byCanonicalName")->rows; + foreach ($rows as $row) { + echo '' . local_url() . 'getAgency.php?id=' . $row->value->_id . "0.6\n"; + } +} catch (SetteeRestClientException $e) { + setteErrorHandler($e); +} +?> +