make RSS boring standard

This commit is contained in:
sakrecoer 2020-11-09 13:27:15 +01:00
parent 41ef02c7bd
commit 7b0380942a
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View file

@ -26,3 +26,5 @@ _data/.~lock.*.csv
## No cover artwork or Mp3 ## No cover artwork or Mp3
*.mp3 *.mp3
assets/albums/ assets/albums/
media/

View file

@ -43,13 +43,13 @@ title : Sakrecoer RSS Feed
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}</link> <link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid> <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
<description> &lt;img src=&quot;{{ site.url }}{{ post.image }}&quot; /&gt; &lt;br /&gt;{{ post.description | truncate: 150 | xml_escape }}</description> <description>{{ post.description | xml_escape | truncate: 200 }}</description>
<category>Hi-Lights</category> <category>Hi-Lights</category>
<author>{{ post.author | xml_escape }}</author> <author>{{ post.author | xml_escape }}</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:author>{{ post.artist | xml_escape }}</itunes:author> <itunes:author>{{ post.artist | xml_escape }}</itunes:author>
<itunes:explicit>No</itunes:explicit> <itunes:explicit>No</itunes:explicit>
<itunes:subtitle>{{ post.description | strip_html | truncate: 252 | xml_escape }}</itunes:subtitle> <itunes:subtitle>{{ post.description | xml_escape | truncate: 200 }}</itunes:subtitle>
<itunes:summary>{{ post.description | xml_escape }}</itunes:summary> <itunes:summary>{{ post.description | xml_escape }}</itunes:summary>
<itunes:keywords>{% for tags in post.tags %}{{ tags | strip_html | xml_escape }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords> <itunes:keywords>{% for tags in post.tags %}{{ tags | strip_html | xml_escape }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords>
<itunes:image href="{{ site.url }}{{ post.image }}"/> <itunes:image href="{{ site.url }}{{ post.image }}"/>