Use external blog links in RSS feed

pull/2/head
Noah 2014-04-11 18:22:02 +00:00
Parent bd9e398120
révision a4a83d4a6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

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