Add category support to the Atom feed

This commit is contained in:
str4d
2013-02-03 02:53:58 +00:00
parent f32b6e3c14
commit 55af9d11b3
4 changed files with 10 additions and 6 deletions

View File

@ -23,8 +23,8 @@ LIST_METATAGS = [
#####################
# Blog helper methods
def get_blog_feed_items(num=0):
posts = get_blog_posts(num, True)
def get_blog_feed_items(num=0, category=None):
posts = get_blog_posts(num, True, category=category)
items = []
for post in posts:
meta = post[1]