1
0
mirror of https://github.com/tiyn/beaker-blog.git synced 2025-10-31 02:41:17 +01:00

Update app.py

This commit is contained in:
Marten
2020-05-23 17:32:02 +00:00
committed by GitHub
parent ed4f454fd7
commit 0fa635de7d

2
app.py
View File

@@ -94,7 +94,7 @@ def get_rss_string():
filename = filename.split('.',1)[0]
content_string += '<item>\n'
content_string += '<title>' + title + '</title>\n'
content_string += '<guid>' + '/index.html#' + filename + '</guid>\n'
content_string += '<guid>' + website + '/index.html#' + filename + '</guid>\n'
content_string += '<pubDate>' + datetime.fromtimestamp(os.path.getctime(file)).strftime('%Y-%m-%d') + '</pubDate>\n'
content_string += '<description>'
for line in text: