make RSS boring standard

This commit is contained in:
sakrecoer 2020-11-09 13:14:37 +01:00
parent b52ab6a90e
commit 14c6ab6fa9

View file

@ -38,15 +38,15 @@ title : To Setto Setto RSS Feed
{% for post in site.posts limit: 7 %} {% for post in site.posts limit: 7 %}
<item> <item>
<title>{{ post.title | xml_escape }}</title> <title>{{ post.title | xml_escape }}</title>
<link>{{ site.url }}{{ post.url }}?utm_source=RSS&amp;utm_medium=RSS&amp;utm_campaign={{ post.title | replace: ',','-' | replace: ' ', '-' | xml_escape }}</link> <link>{{ site.url }}{{ post.url }}?pk_campaign=RSS</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 }} {% if post.link %}&lt;br /&gt;Full article on: &lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ site.url }}{{ post.url }}&lt;/a&gt;{% endif %}</description> <description>{{ post.description | truncate: 200 | xml_escape }}</description>
<category>Hi-Lights</category> <category>Hi-Lights</category>
<author>{{ site.social.mail | xml_escape }} ({{ site.social.name }})</author> <author>{{ site.social.mail | xml_escape }} ({{ site.social.name }})</author>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate> <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<itunes:author>{{ site.publisher.mail }}</itunes:author> <itunes:author>{{ site.publisher.mail }}</itunes:author>
<itunes:explicit>No</itunes:explicit> <itunes:explicit>No</itunes:explicit>
<itunes:subtitle>{{ post.description | truncate: 252 | xml_escape }}</itunes:subtitle> <itunes:subtitle>{{ post.description | truncate: 200 | xml_escape }}</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 | xml_escape | strip_html }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords> <itunes:keywords>{% for tags in post.tags %}{{ tags | xml_escape | strip_html }}{% unless forloop.last %}, {% endunless %}{% endfor %}</itunes:keywords>
<itunes:image href="{{ site.url }}{{ post.image }}"/> <itunes:image href="{{ site.url }}{{ post.image }}"/>