Mercurial > web-octave
comparison feed.xml @ 94:e8fc61e077fc
Merged closed branch "kai" into default.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 01 Nov 2016 01:06:10 +0100 |
parents | 7abe02bf29ec |
children |
comparison
equal
deleted
inserted
replaced
92:7609e2a6faef | 94:e8fc61e077fc |
---|---|
4 <?xml version="1.0" encoding="UTF-8"?> | 4 <?xml version="1.0" encoding="UTF-8"?> |
5 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | 5 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
6 <channel> | 6 <channel> |
7 <title>{{ site.title | xml_escape }}</title> | 7 <title>{{ site.title | xml_escape }}</title> |
8 <description>{{ site.description | xml_escape }}</description> | 8 <description>{{ site.description | xml_escape }}</description> |
9 <link>{{ site.url }}{{ site.baseurl }}/</link> | 9 <link>{{ "/" | absolute_url }}</link> |
10 <atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/> | 10 <atom:link href="{{ "/feed.xml" | absolute_url }}" rel="self" type="application/rss+xml"/> |
11 <pubDate>{{ site.time | date_to_rfc822 }}</pubDate> | 11 <pubDate>{{ site.time | date_to_rfc822 }}</pubDate> |
12 <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> | 12 <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> |
13 <generator>Jekyll v{{ jekyll.version }}</generator> | 13 <generator>Jekyll v{{ jekyll.version }}</generator> |
14 {% for post in site.posts limit:10 %} | 14 {% for post in site.posts limit:20 %} |
15 <item> | 15 <item> |
16 <title>{{ post.title | xml_escape }}</title> | 16 <title>{{ post.title | xml_escape }}</title> |
17 <description>{{ post.content | xml_escape }}</description> | 17 <description>{{ post.content | xml_escape }}</description> |
18 <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> | 18 <pubDate>{{ post.date | date_to_rfc822 }}</pubDate> |
19 <link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link> | 19 <link>{{ post.url | absolute_url }}</link> |
20 <guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid> | 20 <guid isPermaLink="true">{{ post.url | absolute_url }}</guid> |
21 {% for tag in post.tags %} | 21 {% for tag in post.tags %} |
22 <category>{{ tag | xml_escape }}</category> | 22 <category>{{ tag | xml_escape }}</category> |
23 {% endfor %} | 23 {% endfor %} |
24 {% for cat in post.categories %} | 24 {% for cat in post.categories %} |
25 <category>{{ cat | xml_escape }}</category> | 25 <category>{{ cat | xml_escape }}</category> |