-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts.xml
32 lines (32 loc) · 1.33 KB
/
posts.xml
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
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
<title>{{ site.title | xml_escape }}</title>
<subtitle type="text">{{ site.description | xml_escape }}</subtitle>
<updated>{{ site.posts.first.date | date_to_xmlschema }}</updated>
<link type="application/atom+xml" href="{{ "posts.xml" | absolute_url | uri_escape }}" rel="self" />
<link type="text/html" href="{{ site.url | uri_escape }}{{ site.baseurl | uri_escape }}" rel="alternate"/>
<id>{{ site.url | uri_escape }}{{ site.baseurl | uri_escape }}</id>
<author>
<name>Vijay Thakkar</name>
<uri>{{ site.url | uri_escape }}{{ site.baseurl | uri_escape }}</uri>
</author>
{% for post in site.posts %}
{% unless post.short_post %}
<entry>
<title type="html"><![CDATA[{{ post.title }}]]></title>
<summary type="html"><![CDATA[{{ post.excerpt | markdownify }}]]></summary>
<link href="{{ post.url | absolute_url | uri_escape }}" />
<id>{{ post.url | absolute_url | uri_escape }}</id>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<author>
<name>Vijay Thakkar</name>
<uri>{{ site.url | uri_escape }}{{ site.baseurl | uri_escape }}</uri>
</author>
<content type="html"><![CDATA[{{ post.content }}]]></content>
</entry>
{% endunless %}
{% endfor %}
</feed>