forked from daattali/daattali.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathr-bloggers-feed.xml
38 lines (38 loc) · 1.22 KB
/
r-bloggers-feed.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
---
layout: null
sitemap:
exclude: true
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ "Dean Attali's R Blog" | xml_escape }}</title>
<description>{{ "RSS feed especialy for R-bloggers" | xml_escape }}</description>
<link>{{ site.url }}</link>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.posts limit:50 %}
{% if post.tags and post.tags contains "rstats" %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>
{% if post.subtitle %}{{ post.subtitle | xml_escape }} - {% endif %}
{{ post.content | xml_escape }}
</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
{% if post.tags %}
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% endif %}
{% if post.categories %}
{% for tag in post.categories %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% endif %}
</item>
{% endif %}
{% endfor %}
</channel>
</rss>