Commit 7d08b08f authored by Matt Lang's avatar Matt Lang

Add taxonomy terms to rss/atom feed as categories

parent a24a1870
......@@ -16,6 +16,9 @@
<% if FeaturedImage %>
<link rel="enclosure" type="image/$FeaturedImage.Extension" href="$FeaturedImage.AbsoluteURL" />
<% end_if %>
<% loop Terms %>
<category term="$Name.XML" />
<% end_loop %>
</entry>
<% end_loop %>
</feed>
......@@ -19,6 +19,9 @@
<% if FeaturedImage %>
<link rel="enclosure" type="image/$FeaturedImage.Extension" href="$FeaturedImage.AbsoluteURL" />
<% end_if %>
<% loop Terms %>
<category>$Name.XML</category>
<% end_loop %>
</item>
<% end_loop %>
</channel>
......
......@@ -17,6 +17,9 @@
<summary type="html">
$Content.AbsoluteLinks.XML
</summary>
<% loop Terms %>
<category term="$Name.XML" />
<% end_loop %>
</entry>
<% end_loop %>
<% end_cached %>
......
......@@ -15,6 +15,9 @@
</description>
<pubDate>$LastEdited.Rfc822</pubDate>
<guid>$AbsoluteLink</guid>
<% loop Terms %>
<category>$Name.XML</category>
<% end_loop %>
</item>
<% end_loop %>
<% end_cached %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment