From: Holger Schurig Date: Fri, 26 Jun 2009 21:45:03 +0000 (+0200) Subject: google_sitemap: generate valid XML ;-/ X-Git-Url: https://oss.titaniummirror.com/gitweb?p=oss-web.git;a=commitdiff_plain;h=493776afdf410206fa8a257efcc3e0ec6d271b9e google_sitemap: generate valid XML ;-/ --- diff --git a/plugins/google_sitemap.py b/plugins/google_sitemap.py index 0db3df5..a13bc85 100644 --- a/plugins/google_sitemap.py +++ b/plugins/google_sitemap.py @@ -59,7 +59,7 @@ def sitemap_scan(params): f.write(' http://%s/%s\n' % (file.main_url, file.rel_path)) f.write(' %s\n' % time.strftime( "%Y-%m-%d", time.localtime(file.mtime)) ) f.write(' %s\n' % file.sitemap_changefreq) - f.write(' %s\n' % file.sitemap_priority) + f.write(' %s\n' % file.sitemap_priority) f.write('\n')