]> oss.titaniummirror.com Git - webber.git/blobdiff - plugins/rss_feed.py
rss_feed.py: the guid isn't a permalink
[webber.git] / plugins / rss_feed.py
index 71c54111bd786660143ed6d5ca0c98603ced7671..0681b39dbd18b1f030dd7fbafd4457d9cc33e693 100644 (file)
@@ -50,7 +50,7 @@ def sitemap_scan(params):
        item = PyRSS2Gen.RSSItem(
                title = file["title"],
                link = full_url,
-               guid = PyRSS2Gen.Guid("%s %s" % (full_url, file["mtime"])),
+               guid = PyRSS2Gen.Guid("%s %s" % (full_url, file["mtime"]), isPermaLink=0),
                description = change,
                pubDate = datetime.datetime.fromtimestamp(file["mtime"], utc),
        )