This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.twitter.xml
44 lines (43 loc) · 1.58 KB
/
atom.twitter.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
36
37
38
39
40
41
42
43
44
---
layout:
---
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<title>{{ site.name }}</title>
<subtitle>By Timothy B. Smith and Friends</subtitle>
<link href="https://brightlycolored.org"/>
<link type="application/atom+xml" rel="self" href="https://brightlycolored.org/atom.xml"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<rights>Copyright © 2013–{{ site.time | date: "%Y" }} {{ site.author.name }}</rights>
<id>https://brightlycolored.org/</id>
{% for author in site.data.authors %}
<author>
<name>{{ author[1].display_name }}</name>
<uri>{{ author[1].web }}</uri>
<email>{{ author[1].email }}</email>
</author>
{% endfor %}
{% assign posts = site.posts | where_exp: "item", "item.is_rss_only != true" %}
{% for post in posts limit:20 %}
<entry>
<id>https://brightlycolored.org{{ post.id }}</id>
<link type="text/html" rel="alternate" href="https://brightlycolored.org{{ post.url }}"/>
<title>{{ post.title | xml_escape }}</title>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<author>
<name>{{ site.data.authors[post.author].display_name }}</name>
<uri>{{ site.data.authors[post.author].web }}</uri>
</author>
<content type="html">
<![CDATA[
{% if post.subtitle %}
<h2>{{ post.subtitle }}</h2>
{% endif %}
{{ post.content }}
]]>
</content>
</entry>
{% endfor %}
</feed>