-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeed.xml
29 lines (29 loc) · 1.51 KB
/
feed.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
---
layout: none
---
<?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.time | date_to_xmlschema }}</updated>
<link type="application/atom+xml" href="{{ site.url | uri_escape }}/feed.xml" rel="self" />
<link type="text/html" href="{{ site.url | uri_escape }}" rel="alternate"/>
<id>{{ site.url | uri_escape }}/</id>
<generator uri="http://jekyllrb.com/">Jekyll</generator>
<rights>Copyright © {{ site.time | date: "%Y" }} Amith Raravi. All Rights Reserved.</rights>
{% for post in site.categories.articles limit:10 %}
<entry>
<title type="html"><![CDATA[{{ post.title }}]]></title>
<link href="{{ site.url | uri_escape }}{{ post.url | uri_escape }}" />
<id>{{ site.url | uri_escape }}{{ post.url | uri_escape }}</id>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{% if post.modified %}{{ post.modified | date_to_xmlschema }}{% else %}{{ post.date | date_to_xmlschema }}{% endif %}</updated>
<author>
<name>{{ site.data.authors[post.author].name | xml_escape }}</name>
<uri>{{ site.url | uri_escape }}</uri>
</author>
<summary type="html"><![CDATA[{{ post.excerpt | strip_html | strip }}]]></summary>
<content type="html"><![CDATA[{{ post.content | strip }}]]></content>
</entry>
{% endfor %}
</feed>