X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b9757db57858fdcff8af1a6566e299559e491b17..04a1a7a24edbf8423a48f51609d545a5a7a3eb42:/sitemap.xml/index.php diff --git a/sitemap.xml/index.php b/sitemap.xml/index.php index 55c293c..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; ?>