Use external blog links in RSS feed

pull/2/head
Noah 2014-04-11 18:22:02 +00:00
parent bd9e398120
commit a4a83d4a6c
1 changed files with 1 additions and 1 deletions

View File

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