Use external blog links in RSS feed

pull/2/head
Noah 2014-04-11 18:22:02 +00:00
父节点 bd9e398120
当前提交 a4a83d4a6c
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -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"]))],
])