forked from 00dani/lemoncurry
Include information on cats in the Atom and RSS feeds
This commit is contained in:
parent
9e71c3d35d
commit
458da087d0
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ class EntriesFeed(Feed):
|
||||||
def item_updatedate(self, entry):
|
def item_updatedate(self, entry):
|
||||||
return entry.updated
|
return entry.updated
|
||||||
|
|
||||||
|
def item_categories(self, entry):
|
||||||
|
return (cat.name for cat in entry.cats.all())
|
||||||
|
|
||||||
|
|
||||||
class RssByKind(EntriesFeed):
|
class RssByKind(EntriesFeed):
|
||||||
def __init__(self, kind):
|
def __init__(self, kind):
|
||||||
|
|
Loading…
Reference in a new issue