forked from femug-abc/femug-abc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
43 lines (34 loc) · 1.5 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
--- layout: null ---
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title | xml_escape }}</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
<link href="{{ site.baseurl }}/" rel="alternate"/>
<link href="{{ site.baseurl | append: /feed.xml }}" rel="self"/>
<rights>Copyright @
{{ site.time | date: '%Y' }},
{{ site.author_name | xml_escape }}</rights>
<icon>{{ site.baseurl }}/assets/favicon.png</icon>
<author>
<name>{{ site.author_name | xml_escape }}</name>
<email>{{ site.author_email | xml_escape }}</email>
<uri>https://twitter.com/{{ site.twitter_username }}</uri>
</author>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.baseurl }}/</id>
<generator version="{{ jekyll.version }}">Jekyll</generator>
{% for post in site.posts limit:40 %}
{% assign content = post.content | replace: "↩", "↩︎" %}
{% assign content = content | replace: "data-lang", "lang" %}
{% assign content = content | replace: "<mark>", "<b>" | replace: "</mark>", "</b>" %}
<entry>
<title type="html">{{ post.title | xml_escape }}</title>
<id>{{ post.url | prepend: site.baseurl }}</id>
<updated>{{ post.updated | date_to_xmlschema }}</updated>
<published>{{ post.path | truncate: 20 | replace: "...", "" | replace: "_posts/", "" }}T10:00:00+02:00</published>
<content type="html" xml:lang="en">
<![CDATA[{{ content }}]]>
</content>
</entry>
{% endfor %}
</feed>