mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-01-11 21:42:34 +01:00
blog: add feed.en.xml & feed.fi.xml
Source: https://github.com/snaptortoise/jekyll-rss-feeds/blob/master/feed.category.xml
This commit is contained in:
parent
44cee5d259
commit
00bead531c
24
blog/feed.en.xml
Normal file
24
blog/feed.en.xml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ site.name | xml_escape }} - Miscellaneous</title>
|
||||
<description>Posts categorized as 'miscellaneous'</description>
|
||||
<link>{{ site.url }}</link>
|
||||
<atom:link href="{{ site.url }}/blog/feed.en.xml" rel="self" type="application/rss+xml" />
|
||||
{% for post in site.categories.english limit:10 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
{% if post.excerpt %}
|
||||
<description>{{ post.excerpt | xml_escape }}</description>
|
||||
{% else %}
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
{% endif %}
|
||||
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
||||
<link>{{ site.url }}{{ post.url }}</link>
|
||||
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
24
blog/feed.fi.xml
Normal file
24
blog/feed.fi.xml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ site.name | xml_escape }} - Miscellaneous</title>
|
||||
<description>Posts categorized as 'miscellaneous'</description>
|
||||
<link>{{ site.url }}</link>
|
||||
<atom:link href="{{ site.url }}/blog/feed.fi.xml" rel="self" type="application/rss+xml" />
|
||||
{% for post in site.categories.finnish limit:10 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
{% if post.excerpt %}
|
||||
<description>{{ post.excerpt | xml_escape }}</description>
|
||||
{% else %}
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
{% endif %}
|
||||
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
||||
<link>{{ site.url }}{{ post.url }}</link>
|
||||
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
Loading…
Reference in New Issue
Block a user