revuo-weekly/atom.xml

39 lines
1.2 KiB
XML
Raw Normal View History

---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
2023-03-12 00:38:09 +00:00
<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>
<title>{{ post.title }}</title>
2023-03-12 04:52:31 +00:00
<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>
2023-07-15 04:58:57 +00:00
{% 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="http://search.yahoo.com/mrss/" url="{{ post_image | xml_escape }}" />
<media:content medium="image" url="{{ post_image | xml_escape }}" xmlns:media="http://search.yahoo.com/mrss/" />
{% endif %}
</entry>
{% endfor %}
2023-03-12 00:32:05 +00:00
</feed>