Use external blog links in RSS feed

This commit is contained in:
Noah 2014-04-11 18:22:02 +00:00
parent bd9e398120
commit a4a83d4a6c

View File

@ -286,7 +286,7 @@ def rss():
channel.appendChild(item)
xml_add_text_tags(doc, item, [
["title", post["subject"]],
["link", url_for("blog.entry", fid=post["fid"])],
["link", url_for("blog.entry", fid=post["fid"], _external=True)],
["description", post["body"]],
["pubDate", time.strftime(rss_time, time.gmtime(post["time"]))],
])