diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-05-24 18:05:37 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-05-24 20:55:20 +0700 |
commit | 50ea0daaa8aaf40bd689941daf77587a5366b292 (patch) | |
tree | e5b3d66d80e6a3b639c9bfd936dde62a293531ee /_rss/head.xml | |
parent | ae2d33fdd8c0864a8cf45c82d0fe1284ad2e7583 (diff) | |
download | site-50ea0daaa8aaf40bd689941daf77587a5366b292.tar.gz |
Blog about nopoo
Diffstat (limited to '_rss/head.xml')
-rw-r--r-- | _rss/head.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/_rss/head.xml b/_rss/head.xml new file mode 100644 index 0000000..4c9f62b --- /dev/null +++ b/_rss/head.xml @@ -0,0 +1,37 @@ +<?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 +--> |