-
Notifications
You must be signed in to change notification settings - Fork 0
/
fb-instant-articles.xml
executable file
·35 lines (34 loc) · 1.15 KB
/
fb-instant-articles.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
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>