diff options
Diffstat (limited to 'src/feed/privacy.xml')
-rw-r--r-- | src/feed/privacy.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/feed/privacy.xml b/src/feed/privacy.xml new file mode 100644 index 0000000..4c9055c --- /dev/null +++ b/src/feed/privacy.xml @@ -0,0 +1,29 @@ +--- +layout: null +--- +{% assign documents = site.documents | where: 'feed', true | where_exp: 'post', 'post.tags contains "Privacy"' | sort: 'date' | reverse %}<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>{{ site.title }}</title> + <description>{{ site.description | strip | xml_escape }}</description> + <link>{{ site.baseurl | prepend: site.url }}</link> + <language>en</language> + <managingEditor>{{ site.email }} ({{ site.author }})</managingEditor> + <webMaster>{{ site.email }} ({{ site.author }})</webMaster> + <pubDate>{{ site.time | date_to_rfc822 }}</pubDate> + <docs>http://www.feedvalidator.org/docs/rss2.html</docs> + <ttl>1440</ttl> + <generator>Jekyll v{{ jekyll.version }}</generator> + <atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml" />{% for post in documents limit:10 %} + <item> + <title>{{ post.title }}</title> + <guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid> + <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> + <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>{% if post.description %} + <description>{{ post.description | strip | xml_escape }}</description>{% endif %} + <author>{{ site.email }} ({{ site.author }})</author>{% for tag in post.tags %} + <category>{{ tag | xml_escape }}</category>{% endfor %}{% for cat in post.categories %} + <category>{{ cat | xml_escape }}</category>{% endfor %} + </item>{% endfor %} + </channel> +</rss> |