all repos — nasg @ 0fc792fe0050a7702d00d13a04ef975c88f1ea61

templates/Category_feed.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>{{ taxonomy.title }}</title>
	<link>{{ site.url }}{{ taxonomy.feed }}</link>
	<lastBuildDate>{{ taxonomy.lastmod }}</lastBuildDate>
	<description>{{ site.title }}: {{ taxonomy.name }}</description>
{% for post in posts %}
	<item>
		<title>{{ post.title }}</title>
		<link>{{ site.url }}/{{ post.slug }}/</link>
		<content:encoded><![CDATA[{{ post.html }}]]></content:encoded>
		<pubDate>{{ post.pubrfc }}</pubDate>
		<guid>{{ site.url }}/{{ post.slug }}</guid>
		<dc:language>{{ post.lang }}</dc:language>
{%- if post.tags %}{% for tname in post.tags %}
			<category>{{ tname }}></category>
{% endfor %}{% endif -%}
{%- if post.rssenclosure %}
		<enclosure
			url="{{ post.enclosure.url }}"
			type="{{ post.enclosure.mime }}"
			length="{{ post.enclosure.size }}"
		/>
{% endif -%}
	</item>
{% endfor %}
</channel>
</rss>