Use external blog links in RSS feed
This commit is contained in:
parent
bd9e398120
commit
a4a83d4a6c
|
@ -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"]))],
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user