-
Notifications
You must be signed in to change notification settings - Fork 2
/
feed.rss
37 lines (37 loc) · 1.68 KB
/
feed.rss
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
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>{{{title}}}</title>
<link>{{blogURL}}</link>
<atom:link href="{{blogURL}}/feed.rss" rel="self" type="application/rss+xml"/>
<description><![CDATA[ Blog by Amit Gawande ]]></description>
{{#recentEntries}}
<item>
<title><![CDATA[ {{{title}}}{{#metadata.in-reply-to}}{{#title}} →{{/title}}{{/metadata.in-reply-to}} ]]></title>
<link>{{{blogURL}}}{{url}}</link>
<guid>{{{blogURL}}}{{url}}</guid>
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator>Amit Gawande</dc:creator>
<description>
<![CDATA[
{{#metadata.in-reply-to}}{{^title}}
➥ In reply to <a href="{{metadata.in-reply-to}}">
{{#metadata.in-reply-to-title}}{{metadata.in-reply-to-title}}{{/metadata.in-reply-to-title}}
{{^metadata.in-reply-to-title}}a post{{/metadata.in-reply-to-title}}
</a>
{{/title}}{{/metadata.in-reply-to}}
{{#metadata.like-of}} ★ Liked <a href="{{metadata.like-of}}">
{{#metadata.like-of-title}}{{metadata.like-of-title}}{{/metadata.like-of-title}}
{{^metadata.like-of-title}}{{metadata.like-of}}{{/metadata.like-of-title}}
</a>{{/metadata.like-of}}
{{{html}}}
{{#metadata.photo}}
<p><img src="{{metadata.photo}}" {{#metadata.photo_alt}}alt="{{metadata.photo_alt}}"{{/metadata.photo_alt}}></p>
{{/metadata.photo}}
]]>
</description>
</item>
{{/recentEntries}}
</channel>
</rss>