summaryrefslogtreecommitdiff
path: root/django/contrib
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-11-20 16:32:40 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-11-20 16:32:40 +0000
commitf759dac2c98372c8b27e2a18b942e653941b708d (patch)
tree4e37e18c7a6f4c50a69d4adbac27ffc211021a20 /django/contrib
parentd2180a6bf3a72bad67bf4897b0ce2d94a6214fc4 (diff)
Fixed #3033 -- Extended django.contrib.sitemaps to support new, generic sitemap protocol rather than Google's proprietary version. Thanks, Petar Marić
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib')
-rw-r--r--django/contrib/sitemaps/templates/sitemap.xml2
-rw-r--r--django/contrib/sitemaps/templates/sitemap_index.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/sitemaps/templates/sitemap.xml b/django/contrib/sitemaps/templates/sitemap.xml
index ad24c045d4..16d9a0bbe0 100644
--- a/django/contrib/sitemaps/templates/sitemap.xml
+++ b/django/contrib/sitemaps/templates/sitemap.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% spaceless %}
{% for url in urlset %}
<url>
diff --git a/django/contrib/sitemaps/templates/sitemap_index.xml b/django/contrib/sitemaps/templates/sitemap_index.xml
index c89b192ecc..9f39bb879f 100644
--- a/django/contrib/sitemaps/templates/sitemap_index.xml
+++ b/django/contrib/sitemaps/templates/sitemap_index.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">
+<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemapindex/0.9">
{% for location in sitemaps %}<sitemap><loc>{{ location|escape }}</loc></sitemap>{% endfor %}
</sitemapindex>