changeset 1848:986c37b557c6

migrate sitemap action to new namespace Google recommends this, see http://www.google.com/support/webmasters/bin/answer.py?answer=54501&query=sitemaps.org
author Johannes Berg <johannes AT sipsolutions DOT net>
date Fri, 02 Mar 2007 23:49:30 +0100
parents c935a4f09f90
children ff8a6ed6d7aa
files MoinMoin/action/sitemap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/sitemap.py	Fri Mar 02 23:46:44 2007 +0100
+++ b/MoinMoin/action/sitemap.py	Fri Mar 02 23:49:30 2007 +0100
@@ -70,7 +70,7 @@
     request.write("""<?xml version="1.0" encoding="UTF-8"?>\r\n""")
 
     result = []
-    result.append("""<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">\n""")
+    result.append("""<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n""")
 
     # we include the / url as an important and often changed URL
     result.append(make_url_xml({