-
Notifications
You must be signed in to change notification settings - Fork 197
/
rss.xml
40 lines (39 loc) · 2.57 KB
/
rss.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
---
layout:
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ site.title }}</title>
<link>{{ site.url }}{{ site.baseurl }}/rss.xml</link>
<atom:link href="{{ site.url }}{{ site.baseurl }}/rss.xml" rel="self" type="application/rss+xml" />
<description>{{ site.description }}</description>
<language>en-us</language>
<copyright>What The Fuck Just Happened Today site content by WTF Just Happened? LLC is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</copyright>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<lastBuildDate>{{ site.time | date:"%a, %d %b %Y %T %z" }}</lastBuildDate>
<managingEditor>{{ site.author.email }} ({{ site.author.name }})</managingEditor>
<webMaster>{{ site.author.email }} ({{ site.author.name }})</webMaster>
<category>politics</category>
{% for post in site.posts limit:50 %}
<item>
<title>{{ post.title | xml_escape }}: {{ post.description | xml_escape }}</title>
<description>
<![CDATA[{{ post.content | strip_html | truncate: 250 }} <p><strong>Subscribe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/subscribe/" target="_blank">Get the Daily Update in your inbox for free</a></p>]]>
</description>
<content:encoded>
<![CDATA[<img src="{{ site.url }}{{ site.baseurl }}{{ post.image }}"/>
{% if site.is_away_mode == true %}
{% include away_mode.html %}
{% endif %}
{{ post.content }} <p><strong>Subscribe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/subscribe/" target="_blank">Get the Daily Update in your inbox for free</a></p><p><strong>Support today's essential newsletter and resist the daily shock and awe:</strong> <a href="{{ site.url }}{{ site.baseurl }}/membership">Become a member</a></p>]]>
</content:encoded>
<author>{{ site.author.email }} ({{ site.author.name }})</author>
<pubDate>{{ post.date | date:"%a, %d %b %Y %T %z" }}</pubDate>
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}?utm_source=rss&utm_medium=referral&utm_campaign=daily_update</link>
<guid isPermaLink="false">{{ site.url }}{{ site.baseurl }}{{ post.url }}</guid>
<category>politics</category>
</item>
{% endfor %}
</channel>
</rss>