|
@ -11,10 +11,26 @@ |
|
|
<title>{{ title }} #{{ x }}</title> |
|
|
<title>{{ title }} #{{ x }}</title> |
|
|
<link>{{ log_path }}#{{ x }}</link> |
|
|
<link>{{ log_path }}#{{ x }}</link> |
|
|
<guid>{{ log_path }}#{{ x }}</guid> |
|
|
<guid>{{ log_path }}#{{ x }}</guid> |
|
|
<description><![CDATA[ |
|
|
<description> |
|
|
{{ post.post }} |
|
|
{% if 'media' in post %} |
|
|
]]></description> |
|
|
<p class="post"> |
|
|
{% if 'media' in post %}<enclosure url="{{ post.media.url }}" length="{{ post.media.size }}" type="{{ post.media.type }}" />{% endif %} |
|
|
{% if 'image' in post.media.type %} |
|
|
|
|
|
<img src="{{ baseurl }}{{ post.media.path }}" loading="lazy"> |
|
|
|
|
|
{% elif 'application' in post.media.type %} |
|
|
|
|
|
<iframe src="{{ baseurl }}{{ post.media.path }}" loading="lazy"></iframe> |
|
|
|
|
|
{% elif 'audio' in post.media.type %} |
|
|
|
|
|
<audio src="{{ baseurl }}{{ post.media.path }}" preload="none"></audio> |
|
|
|
|
|
{% elif 'video' in post.media.type %} |
|
|
|
|
|
<video src="{{ baseurl }}{{ post.media.path }}" preload="none"></video> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
The media file is not added to the RSS feed :(. |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</p> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<p class="post">{{ post.post }}</p> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</description> |
|
|
|
|
|
{% if 'media' in post %}<enclosure url="{{ baseurl }}{{ post.media.path }}" length="{{ post.media.size }}" type="{{ post.media.type }}" />{% endif %} |
|
|
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LogBot</dc:creator> |
|
|
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LogBot</dc:creator> |
|
|
<pubDate>{{ post.date }}</pubDate> |
|
|
<pubDate>{{ post.date }}</pubDate> |
|
|
</item> |
|
|
</item> |
|
|