X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/c7f5b415c17b1ecbf1244f13c97cb89e74bec7c4..9b5016ca5c340cc4f3b6f39d0f1d52a58946235b:/sitemap.xml/index.php diff --git a/sitemap.xml/index.php b/sitemap.xml/index.php index f0f928b..a753b52 100644 --- a/sitemap.xml/index.php +++ b/sitemap.xml/index.php @@ -1,5 +1,5 @@ api) return; header('Content-Type: application/atom+xml; charset=utf-8'); print ''; $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST']; @@ -7,9 +7,9 @@ $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTT files() as $link) { - $article = new ArchiveArticle($link); +foreach ($search->files() as $article) { print ''; print "$siteref/{$article->link}"; $score = 10; @@ -25,6 +25,7 @@ foreach ($search->files() as $link) { } print "\n"; } +$Page = $caller; ?>