Improve formatting in RSS feed, to make it valid

This commit is contained in:
Raymon Zutekouw
2021-11-23 12:06:02 +01:00
parent 6ed757b81b
commit 266b6e0733
3 changed files with 11 additions and 12 deletions
+3 -8
View File
@@ -2,13 +2,8 @@
<title>{{title}}</title>
<link>https://raymon.dev/posts/{{localpath}}.html</link>
<guid>https://raymon.dev/posts/{{localpath}}.html</guid>
<description>
<![CDATA[
{{content}}
]]>
</description>
<content type="html">
{{content}}
</content>
<pubDate>{{date}}</pubDate>
<description><![CDATA[
{{content}}
]]></description>
</item>
+3 -4
View File
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="https://raymon.dev/posts/rss.xml" rel="self" type="application/rss+xml" />
<title>Posts</title>
<link>https://raymon.dev</link>
<title>Raymon Zutekouw</title>
<description>Personal blog</description>
<language>en-us</language>
<link>https://raymon.dev</link>
<atom:link href="https://raymon.dev/posts/rss.xml" rel="self" type="application/rss+xml" />
{{items}}
</channel>
</rss>