changeset 1664:255a340ca616

generate absolute urls for sitemap action
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 06 Nov 2006 16:33:36 +0100
parents 54075f263950
children c57f72b49ea2
files MoinMoin/action/sitemap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/sitemap.py	Mon Nov 06 15:21:17 2006 +0100
+++ b/MoinMoin/action/sitemap.py	Mon Nov 06 16:33:36 2006 +0100
@@ -28,7 +28,7 @@
 
 def sitemap_url(request, base, page):
     """ return a sitemap <url>..</url> fragment for page object <page> """
-    url = page.url(request)
+    url = page.url(request, relative=False)
     pagename = page.page_name
     lastmod = page.mtime_printable(request)
     if lastmod == "0": # can happen in case of errors