mixyll/fb-instant-articles.xml

36 lines
1.2 KiB
XML

---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ site.name | xml_escape }}</title>
<link>{{ site.url }}</link>
<description>
{% if site.description %}{{ site.description | xml_escape }}{% endif %}
</description>
{% for post in site.posts %}
{% unless post.link %}
<item>
<title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}</link>
<content:encoded>
<![CDATA[
{{ post.content }}
]]>
</content:encoded>
<guid isPermaLink="false">{{ post.url }}</guid>
<description>
{% if post.summary %}
{{ post.summary | xml_escape }}
{% endif %}
</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<author>{{ site.author }}</author>
</item>
{% endunless %}
{% endfor %}
</channel>
</rss>