Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add atom.xml

  • Loading branch information...
commit 75cb59682a68beb850ca3837c75bf557529820d9 1 parent 786c314
@rondy rondy authored
Showing with 29 additions and 0 deletions.
  1. +29 −0 atom.xml
View
29 atom.xml
@@ -0,0 +1,29 @@
+---
+layout: nil
+elixir_url: http://elixir-lang.org
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+<title>Elixir Lang</title>
+<link href="{{ page.elixir_url }}/atom.xml" rel="self"/>
+<link href="{{ page.elixir_url }}"/>
+<updated>{{ site.time | date_to_xmlschema }}</updated>
+<id>{{ page.elixir_url }}</id>
+
+{% for post in site.posts %}
+<entry>
+ <title>{{ post.title }}</title>
+ <link href="{{ page.elixir_url }}{{ post.url }}"/>
+ {% if post.author %}
+ <author>
+ <name>{{ post.author }}</name>
+ </author>
+ {% endif %}
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>{{ post.id }}</id>
+ <content type="html">{{ post.content | xml_escape }}</content>
+</entry>
+{% endfor %}
+
+</feed>
Please sign in to comment.
Something went wrong with that request. Please try again.