Verified Commit ac826b2f authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Add more information to rss feed

parent 9e9c9c15
......@@ -8,13 +8,29 @@
<description>Planet KDE{% if lang.name %} | {{ lang.name }}{% endif %}</description>
<atom:link href="https://planet.kde.org{% if lang.name %}/{{ page.title }}{% endif %}/rss20.xml" rel="self" type="application/rss+xml"/>
{% assign posts = paginator.posts | sort: "created_at" | reverse %}
<image>
<link>https://planet.kde.org{% if lang.name %}/{{ page.title }}{% endif %}</link>
<title>Planet KDE</title>
<url>https://planet.kde.org/assets/img/planetkde.svgf</url>
<description>Read the Dallas Times-Herald</description>
<height>48</height>
<width>48</width>
</image>
{% if lang.name %}
<language>{{ page.title }}</language>
{% endif %}
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
{% for post in posts %}
<item>
<guid isPermaLink="{% if post.guid contains '://' %}true{% else %}false{% endif %}">{{ post.guid }}</guid>
<title>{{ post.title | xml_escape }}</title>
<pubDate>{{ post.created_at }}</pubDate>
<pubDate>{{ post.created_at | date_to_rfc822 }}</pubDate>
<link>{{ post.original_link }}</link>
<description>{{ post.content | xml_escape }}</description>
<author>{{ post.author }}</author>
{% if post.license %}
<license>{{ post.license }}</license>
{% endif %}
</item>
{% endfor %}
</channel>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment