From 648cef7debdd1b5b96dc00db31445206c0de0f48 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Mon, 5 Jul 2010 20:56:12 +0200 Subject: [PATCH] google_sitemap.py: don't put the source files into the sitemap, use the generated output filename instead --- plugins/google_sitemap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2