forked from ritterim/rimdev-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
35 lines (34 loc) · 1.44 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
30
31
32
33
34
35
---
layout: null
permalink: feed.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
<link href="{{ site.feed.path | prepend: '/' | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/atom+xml"/>
<link href="{{ site.url }}/" rel="alternate" type="text/html"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/</id>
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
{% for post in site.posts limit:10 %}
<entry>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" rel="alternate" type="text/html" title="{{ post.title }}"/>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ post.url | remove: '.html' | prepend: site.baseurl | prepend: site.url }}</id>
<content type="html" xml:base="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.content | xml_escape }}</content>
<author>
<name>{{ post.authors | join: ', ' }}</name>
</author>
<summary>{{ post.excerpt | strip_html | xml_escape }}</summary>
{% for tag in post.tags %}
<category term="{{ tag | xml_escape }}"/>
{% endfor %}
{% for cat in post.categories %}
<category term="{{ cat | xml_escape }}"/>
{% endfor %}
</entry>
{% endfor %}
</feed>