Make the feed compliant with the RSS 2.0 validator

This commit is contained in:
PapaTutuWawa 2021-01-01 23:03:31 +01:00
parent 40b68f269e
commit c2b6d7ab02
3 changed files with 10 additions and 17 deletions

View File

@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ title }}</title>
<link>https://{{ blog_url }}/</link>
<link href="https://{{ blog_url }}/" />
<title>{{ blog_title }}</title>
<link>https://{{ blog_url }}</link>
<webMaster>papatutuwawa [a] polynom.me</webMaster>
<description>{{ blog_description }}</description>
<author>
<name>{{ author_name }}</name>
<email>{{ email_user }} [a] {{ email_domain }}</email>
<uri>https://{{ blog_url }}/about.html</uri>
</author>
<language>en-gb</language>
<atom:link href="https://{{ blog_url }}/atom.xml" rel="self" type="application/rss+xml" />
{{ content }}
</channel>
</channel>
</rss>

View File

@ -1,14 +1,11 @@
<item>
<title>{{ title }}</title>
<author>papatutuwawa [a] polynom.me</author>
<link>https://{{ blog_url }}/{{ slug }}.html</link>
<link href="https://{{ blog_url }}/{{ slug }}.html" />
<guid isPermaLink="true">
https://{{ blog_url }}/{{ slug }}.html
</guid>
<guid isPermaLink="true">https://{{ blog_url }}/{{ slug }}.html</guid>
<description>
<![CDATA[
{{ summary }}
]]>
{{ content }}
</description>
<source url="https://{{ blog_url }}/feed.xml">{{ blog_title }}</source>
<pubDate>{{ rfc_2822_date }}</pubDate>
</item>

View File

@ -1,6 +1,6 @@
{
"author_name": "Alexander 'PapaTutuWawa'",
"title": "PapaTutuWawa's Blog",
"blog_title": "PapaTutuWawa's Blog",
"blog_description": "My personal blog. Mainly tech stuff.",
"git_url": "git.polynom.me",
"blog_url": "blog.polynom.me",