revuo-weekly/atom.xml
2023-06-29 22:42:36 +00:00

38 lines
1.2 KiB
XML

---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<id>{{ site.url }}</id>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.author.name }}</name>
<uri>{{ site.author.url }}</uri>
<email>{{ site.author.email }}</email>
</author>
{% for post in site.posts limit: 10 %}
<entry>
{% assign post_image = post.image.path | default: post.image %}
{% if post_image %}
{% unless post_image contains "://" %}
{% assign post_image = post_image | absolute_url %}
{% endunless %}
<media:thumbnail xmlns:media="https://revuo-xmr.com/atom.xml" url="{{ post_image | xml_escape }}" />
<media:content medium="image" url="{{ post_image | xml_escape }}" xmlns:media="https://revuo-xmr.com/atom.xml" />
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}.html"/>
<id>{{ site.url }}{{ post.id }}</id>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<content type="html">{{ post.content | xml_escape | truncatewords:50 }}</content>
</entry>
{% endfor %}
</feed>