74 lines
No EOL
2.5 KiB
XML
74 lines
No EOL
2.5 KiB
XML
---
|
|
layout: null
|
|
title: "Atom Feed"
|
|
permalink: /atom.xml
|
|
---
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="{{ site.baseurl }}/assets/xslt/atom.xslt" ?>
|
|
<?xml-stylesheet type="text/css" href="{{ site.baseurl }}/assets/css/atom.css" ?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<id>{{ site.url }}{{ site.baseurl }}/</id>
|
|
<title>{{ site.title | xml_escape }}</title>
|
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
|
|
|
<subtitle>{{ site.description | xml_escape }}</subtitle>
|
|
|
|
{% if site.author %}
|
|
{% assign author = site.data.authors[site.author] %}
|
|
<author>
|
|
{% if author.name %}
|
|
<name>{{ author.name | xml_escape }}</name>
|
|
{% else %}
|
|
<name>{{ site.author | xml_escape }}</name>
|
|
{% endif %}
|
|
{% if author.email %}
|
|
<email>{{ author.email | xml_escape }}</email>
|
|
{% endif %}
|
|
{% if author.uri %}
|
|
<uri>{{ author.uri | xml_escape }}</uri>
|
|
{% endif %}
|
|
</author>
|
|
{% endif %}
|
|
|
|
<link href="{{ site.url }}{{ site.baseurl }}{{page.url }}" rel="self" type="application/rss+xml" />
|
|
<link href="{{ site.url }}{{ site.baseurl }}/" rel="alternate" type="text/html" />
|
|
|
|
<generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
|
|
|
|
{% for post in site.posts limit: 10 %}
|
|
<entry>
|
|
<id>{{ site.url }}{{ site.baseurl }}{{ post.url }}</id>
|
|
<title>{{ post.title | strip_html | strip_newlines | xml_escape }}</title>
|
|
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
|
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
|
|
|
{% if post.author %}
|
|
{% assign author = site.data.authors[post.author] %}
|
|
<author>
|
|
{% if author.name %}
|
|
<name>{{ author.name | xml_escape }}</name>
|
|
{% else %}
|
|
<name>{{ post.author | xml_escape }}</name>
|
|
{% endif %}
|
|
{% if author.email %}
|
|
<email>{{ author.email | xml_escape }}</email>
|
|
{% endif %}
|
|
{% if author.uri %}
|
|
<uri>{{ author.uri | xml_escape }}</uri>
|
|
{% endif %}
|
|
</author>
|
|
{% endif %}
|
|
<summary>{{ post.teaser | xml_escape }}</summary>
|
|
<content type="html" xml:base="{{ site.url }}{{ site.baseurl }}{{ post.url }}">{{ post.content | xml_escape }}</content>
|
|
|
|
{% for category in post.categories %}
|
|
<category term="{{ category | xml_escape }}" />
|
|
{% endfor %}
|
|
{% for tag in post.tags %}
|
|
<category term="{{ tag | xml_escape }}" />
|
|
{% endfor %}
|
|
|
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
|
</entry>
|
|
{% endfor %}
|
|
</feed> |