-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfeed.xml
More file actions
33 lines (33 loc) · 1.01 KB
/
feed.xml
File metadata and controls
33 lines (33 loc) · 1.01 KB
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
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
<link href="{{site.url}}"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>CluedIn</name>
</author>
<id>{{ site.url }}/</id>
{% assign pages = site.pages | where_exp: "item", "item.last_modified" | sort: "last_modified" | limit: 10 %}
{% for page in pages %}
<entry>
<title>{{page.title | xml_escape}}</title>
<link href="{{site.url}}{{page.permalink}}" />
<id>{{site.url}}{{page.permalink}}</id>
<updated>{{page.last_modified | date_to_xmlschema}}</updated>
<summary>
{% if page.title %}
{{page.title | xml_escape}}.
{% endif %}
{% if page.summary %}
{{page.summary | xml_escape}}
{% endif %}
{% if page.tags %}
Tags: {{ page.tags | join: ", " }}.
{% endif %}
</summary>
</entry>
{% endfor %}
</feed>