-
Notifications
You must be signed in to change notification settings - Fork 8
/
feed.xml
52 lines (51 loc) · 2.01 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
{% include base_path %}
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<link>{{ base_path }}</link>
<atom:link href="{{ base_path }}/{{ page.path }}" rel="self" type="application/rss+xml" />
{% for post in site.tutorials %}
{% unless post.position == "hidden" %}
<item>
<title>{{ post.title | xml_escape }}</title>
{% if post.author %}
<dc:creator>{{ post.author | xml_escape }}</dc:creator>
{% endif %}
{% if post.excerpt %}
<description>{{ post.excerpt | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<enclosure url='{{ base_path }}/images/{{ site.og_image }}'></enclosure>
<link>{{ base_path }}{{ post.url }}</link>
<guid isPermaLink="true">{{ base_path }}{{ post.url }}</guid>
</item>
{% endunless %}
{% endfor %}
{% for post in site.conferences %}
{% unless post.position == "hidden" %}
<item>
<title>{{ post.title | xml_escape }}</title>
{% if post.author %}
<dc:creator>{{ post.author | xml_escape }}</dc:creator>
{% endif %}
{% if post.excerpt %}
<description>{{ post.excerpt | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<enclosure url='{{ base_path }}/images/{{ site.og_image }}'></enclosure>
<link>{{ base_path }}{{ post.url }}</link>
<guid isPermaLink="true">{{ base_path }}{{ post.url }}</guid>
</item>
{% endunless %}
{% endfor %}
</channel>
</rss>