-
Notifications
You must be signed in to change notification settings - Fork 6
/
feed.xml
32 lines (32 loc) · 1.58 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
---
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:content="https://purl.org/rss/1.0/modules/content/"
xmlns:wfw="https://wellformedweb.org/CommentAPI/"
xmlns:dc="https://purl.org/dc/elements/1.1/"
xmlns:atom="https://www.w3.org/2005/Atom"
xmlns:sy="https://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
>
<channel>
<title xml:lang="en">{{ site.title }}</title>
<atom:link type="application/atom+xml" href="https://ink.sapo.pt/feed.xml" rel="self"/>
<link>https://ink.sapo.pt/</link>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S GMT" }}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S GMT" }}</lastBuildDate>
<language>en-US</language>
<description>{{ site.description }}</description>
{% for page in site.pages %}
<item>
<title>{{ page.title }}</title>
<link>https://ink.sapo.pt/{{ page.url | remove: 'index.html' | replace_first: '/','' }}</link>
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S GMT" }}</pubDate>
{% for tag in page.tags %}<category>{{ tag }}</category>{% endfor %}
<guid isPermaLink="false">{{ page.id }}</guid>
{% capture endthing %}{% raw %}%}{% endraw %}{% endcapture %}
<description><![CDATA[{{ page.content | strip_html | replace: '{% include','' | replace: '{% highlight html ','' | replace: '{% highlight js ','' | replace: '{% endhighlight' | replace: "{% raw ",'' | replace: "{% endraw ",'' | replace: endthing,'' }}]]></description>
</item>
{% endfor %}
</channel>
</rss>