You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.5 KiB

---
layout: null
permalink: feed.xml
---
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
<link href="{{ site.baseurl }}/" rel="alternate"/>
<link href="{{ site.baseurl | append: feed.xml }}" rel="self"/>
<rights>Copyright @
{{ site.time | date: '%Y' }},
{{ site.author.name | xml_escape }}</rights>
<icon>{{ site.baseurl }}/assets/favicon.png</icon>
<author>
<name>{{ site.author.name | xml_escape }}</name>
<uri>{{ site.baseurl }}</uri>
<email>{{ site.author.email | xml_escape }}</email>
</author>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.baseurl }}/</id>
<generator version="{{ jekyll.version }}">Jekyll</generator>
{% comment %}Publish changelogs only{% endcomment %}
{% for page in site.software %}
{% if page.layout == 'changelog' %}
{% capture release_excerpt %}
{% comment %}See https://github.com/jekyll/jekyll/issues/4262{% endcomment %}
{% assign start=page.output | split: '<!--last_release_start-->' | last %}
{% assign end=start | split: '<!--last_release_end-->' | first %}
{{ end }}
{% endcapture %}
{% assign content = release_excerpt | replace: "&#8617;", "&#8617;&#xfe0e;" %}
{% assign content = content | replace: "data-lang", "lang" %}
{% assign content = content | replace: "<mark>", "<b>" | replace: "</mark>", "</b>" %}
<entry>
<title type="html">{{ page.title | xml_escape }} (version {{ page.last_version | xml_escape }})</title>
<id>{{ page.url | prepend: site.baseurl }}</id>
<updated>{{ page.updated | date_to_xmlschema }}</updated>
<published>{{ page.date | date_to_xmlschema }}</published>
<content type="html" xml:lang="en">
<![CDATA[{{ content }}]]>
</content>
</entry>
{% endif %}
{% endfor %}
{% for post in site.posts %}
{% assign content = post.content | replace: "&#8617;", "&#8617;&#xfe0e;" %}
{% assign content = content | replace: "data-lang", "lang" %}
{% assign content = content | replace: "<mark>", "<b>" | replace: "</mark>", "</b>" %}
<entry>
<title type="html">{{ post.title | xml_escape }}</title>
<id>{{ post.url | prepend: site.baseurl }}</id>
<updated>{{ post.updated | date_to_xmlschema }}</updated>
<published>{{ post.date | date_to_xmlschema }}</published>
<content type="html" xml:lang="en">
<![CDATA[{{ content }}]]>
</content>
</entry>
{% endfor %}
</feed>