mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-04-02 15:37:46 +02:00
Update app.py
This commit is contained in:
parent
ed4f454fd7
commit
0fa635de7d
2
app.py
2
app.py
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user