Add <category> to rss data where relevant

This commit is contained in:
Chad Birch
2013-04-30 00:24:58 -06:00
parent 69cd0d08ec
commit 398fc0e1a3

View File

@@ -37,6 +37,9 @@
%>
<item>
<title>${thing.title}</title>
%if thing.different_sr:
<category>${thing.subreddit.name}</category>
%endif
<link>${url}</link>
<guid isPermaLink="true">${permalink}</guid>
<pubDate>${thing._date.strftime('%a, %d %b %Y %H:%M:%S %z')}</pubDate>