aboutsummaryrefslogtreecommitdiff
path: root/feed.xml
diff options
context:
space:
mode:
authorGravatar Barry Clark <barry@barryclark.co> 2014-05-17 18:09:58 -0400
committerGravatar Barry Clark <barry@barryclark.co> 2014-05-17 18:09:58 -0400
commit6db3f0bccaea32ae26f60094c1e92eb240d2f9c8 (patch)
tree7853c39d1972f54a4e1024a5b241fd4e195174a5 /feed.xml
parent826df31380d0e77253f79c64c0772d91fbd0a152 (diff)
downloadkompetenzbolzen.github.io-6db3f0bccaea32ae26f60094c1e92eb240d2f9c8.tar.gz
RSS feed option added
Diffstat (limited to 'feed.xml')
-rw-r--r--feed.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/feed.xml b/feed.xml
new file mode 100644
index 0000000..899221c
--- /dev/null
+++ b/feed.xml
@@ -0,0 +1,21 @@
+---
+layout: none
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>{{ site.name | xml_escape }}</title>
+ <description>{{ site.description | xml_escape }}</description>
+ <link>{{ site.footer-links.rss }}</link>
+ <atom:link href="{{ site.footer-links.rss }}/feed.xml" rel="self" type="application/rss+xml" />
+ {% for post in site.posts limit:10 %}
+ <item>
+ <title>{{ post.title | xml_escape }}</title>
+ <description>{{ post.content | xml_escape }}</description>
+ <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+ <link>{{ site.footer-links.rss }}/{{ post.url }}</link>
+ <guid isPermaLink="true">{{ site.footer-links.rss }}/{{ post.url }}</guid>
+ </item>
+ {% endfor %}
+ </channel>
+</rss> \ No newline at end of file