Add RSS feed at /rss/ #11
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def generate_feed(db):
|
|||
channel.find_all("atom:link")[-1]["rel"] = "alternate"
|
||||
channel.find_all("atom:link")[-1]["type"] = "text/html"
|
||||
|
||||
db.execute("SELECT * FROM post").fetchall()
|
||||
posts = db.execute("SELECT * FROM post").fetchall()
|
||||
posts.reverse()
|
||||
|
||||
for post in posts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue