summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-04-10 10:03:37 -0400
committerEvan Prodromou <evan@status.net>2010-06-01 13:52:27 -0700
commitd65a65756b88347b208b10f6abd2573d7703b6d5 (patch)
tree9b55811287114e9456ff371b67aee1e2b3260cae /plugins
parent0a04f9d49db4f28ace3f3d94ec0763a926296b44 (diff)
correct element name and namespace for sitemapactions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Sitemap/sitemapaction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Sitemap/sitemapaction.php b/plugins/Sitemap/sitemapaction.php
index ab80b85ea..bab04ed9d 100644
--- a/plugins/Sitemap/sitemapaction.php
+++ b/plugins/Sitemap/sitemapaction.php
@@ -56,13 +56,13 @@ class SitemapAction extends Action
header('Content-Type: text/xml; charset=UTF-8');
$this->startXML();
- $this->elementStart('sitemap');
+ $this->elementStart('urlset', array('xmlns' => 'http://www.sitemaps.org/schemas/sitemap/0.9'));
while (list($url, $lm, $cf, $p) = $this->nextUrl()) {
$this->showUrl($url, $lm, $cf, $p);
}
- $this->elementEnd('sitemap');
+ $this->elementEnd('urlset');
$this->endXML();
}