]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Add atom feed
authorBen Beltran <redacted>
Tue, 16 Apr 2013 01:32:15 +0000 (20:32 -0500)
committerBen Beltran <redacted>
Tue, 16 Apr 2013 01:32:15 +0000 (20:32 -0500)
jekyll/atom.xml [new file with mode: 0644]

diff --git a/jekyll/atom.xml b/jekyll/atom.xml
new file mode 100644 (file)
index 0000000..9204a51
--- /dev/null
@@ -0,0 +1,27 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<title>N, S o Vocal</title>
+<link href="http://nsovocal.com/atom.xml" rel="self"/>
+<link href="http://nsovocal.com/"/>
+<updated>{{ site.time | date_to_xmlschema }}</updated>
+<id>http://nsovocal.com</id>
+<author>
+<name>Ben Beltran</name>
+<email>ben@nsovocal.com</email>
+</author>
+
+{% for post in site.posts | limit:20 %}
+<entry>
+<title>{{ post.title }}</title>
+<link href="http://nsovocal.com{{ post.url }}" rel="alternate"/>
+<updated>{{ post.date | date_to_xmlschema }}</updated>
+<id>http://nsovocal.com{{ post.id }}</id>
+<content type="html">{{ post.content | xml_escape }}</content>
+</entry>
+{% endfor %}
+
+</feed>