From: Holger Schurig Date: Mon, 5 Jul 2010 18:56:12 +0000 (+0200) Subject: google_sitemap.py: don't put the source files into the sitemap, use X-Git-Url: https://oss.titaniummirror.com/gitweb?p=webber.git;a=commitdiff_plain;h=648cef7debdd1b5b96dc00db31445206c0de0f48 google_sitemap.py: don't put the source files into the sitemap, use the generated output filename instead --- diff --git a/plugins/google_sitemap.py b/plugins/google_sitemap.py index 68fb548..e039e21 100644 --- a/plugins/google_sitemap.py +++ b/plugins/google_sitemap.py @@ -62,7 +62,7 @@ def sitemap_scan(params): #print file.sitemap_priority, file.sitemap_changefreq, file.rel_path f.write('\n') - f.write(' http://%s/%s\n' % (file.main_url, file.rel_path)) + f.write(' http://%s/%s\n' % (file.main_url, file.out_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)