about summary refs log tree commit diff homepage
path: root/_rss
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-19 23:20:55 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-19 23:20:55 +0700
commitafcf9702d8ea4014349561025865e85326657d84 (patch)
treee3c8b3467019a54a6587fee639cc692b4dee7b29 /_rss
parent43a4b318cf7d4a9ab40fe800d6971d1ad4ee7f9f (diff)
downloadsite-afcf9702d8ea4014349561025865e85326657d84.tar.gz
Tweak metadata
Diffstat (limited to '_rss')
-rw-r--r--_rss/head.xml44
1 files changed, 13 insertions, 31 deletions
diff --git a/_rss/head.xml b/_rss/head.xml
index 28f4204..929038f 100644
--- a/_rss/head.xml
+++ b/_rss/head.xml
@@ -1,33 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-This is based on Yandex's https://yandex.com/support/zen/website/rss-modify.html
-
-The scope of this segment is the GLOBAL scope (variables defined in config.md).
-For instance 'website_url' or 'website_description'.
-
-Notes:
-* namespaces (xmlns): https://validator.w3.org/feed/docs/howto/declare_namespaces.html
-* best practices: https://www.rssboard.org/rss-profile
-* fd2rss convers markdown to html and fixes or removes relative links
-* fd_rss_feed_url is built out of {website_url}/{rss_file}.xml, you can change the
-rss_file variable in your config file if you want to use something different than 'feed'
--->
 <rss version="2.0"
-  xmlns:content="http://purl.org/rss/1.0/modules/content/"
-  xmlns:dc="http://purl.org/dc/elements/1.1/"
-  xmlns:media="http://search.yahoo.com/mrss/"
-  xmlns:atom="http://www.w3.org/2005/Atom"
-  xmlns:georss="http://www.georss.org/georss">
-
-  <channel>
-    <title><![CDATA[{{fd2rss website_title}}]]></title>
-    <link>{{website_url}}</link>
-    <description><![CDATA[{{fd2rss website_description}}]]></description>
-    <atom:link
-      href="{{fd_rss_feed_url}}"
-      rel="self"
-      type="application/rss+xml"/>
-<!--
-* items will be added here in chronological order
-* the channel will then be closed
--->
+     xmlns:atom="http://www.w3.org/2005/Atom"
+     xmlns:content="http://purl.org/rss/1.0/modules/content"
+     xmlns:wfw="http://wellformedweb.org/CommentAPI">
+<channel>
+<title>{{website_title}}</title>
+<link>{{website_url}}</link>
+<atom:link href="{{fd_rss_feed_url}}"
+           rel="self"
+           type="application/rss+xml"/>
+<description>{{website_description}}</description>
+<copyright><![CDATA[{{copyright}} under CC BY-SA 4.0]]></copyright>
+<language>en</language>
+<generator>Franklin</generator>