about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--.build.yml3
-rw-r--r--_layout/hair.html6
-rw-r--r--_rss/head.xml44
-rw-r--r--blog/index.md2
4 files changed, 19 insertions, 36 deletions
diff --git a/.build.yml b/.build.yml
index a6f6ce1..9f0bfb6 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,5 +1,5 @@
 image: archlinux
-oauth: pages.sr.ht/PAGES:RW
+oauth: lists.sr.ht/EMAILS:RO pages.sr.ht/PAGES:RW
 packages:
   - julia
   - katex
@@ -11,6 +11,7 @@ tasks:
       mkdir -p site/_libs/katex
       cp /usr/lib/node_modules/katex/dist/katex.min.js site/_libs/katex
       cp -r /usr/lib/node_modules/katex/dist/{fonts,katex.min.css} site/_css
+      acurl https://lists.sr.ht/query/list/5261.mbox -o site/mbox
   - build: |
       cd site
       julia --project=@. .build.jl
diff --git a/_layout/hair.html b/_layout/hair.html
index 352e740..7c7ee2d 100644
--- a/_layout/hair.html
+++ b/_layout/hair.html
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html lang=en>
 <meta charset=UTF-8 name=viewport content='width=device-width, initial-scale=1'>
-<link rel=alternate type=application/rss+xml href=https://cnx.srht.site/feed.xml
-      title='{{website_title}}'>
-<link rel=icon href=/assets/favicon.png>
+<link rel='alternate' type='application/rss+xml' title='{{website_title}}'
+      href='/{{ispage /tag/*}}tag/{{fd_tag}}/{{end}}{{rss_file}}.xml'>
+<link rel='icon' href='/assets/favicon.png'>
 <link rel=stylesheet href=/css/style.css>
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>
diff --git a/blog/index.md b/blog/index.md
index 913bc97..68d57aa 100644
--- a/blog/index.md
+++ b/blog/index.md
@@ -6,7 +6,7 @@ as [`fun`](/tag/fun).  I sometimes note what happens in meatspace as well.
 Such writings might still have a thing or two to do with computing
 (given it is integrated into my life) and they are tagged as [`lyf`](/tag/lyf).
 
-As usual, the good old [RSS feed](/feed.xml) is available.
+As usual, the good old [RSS feed]({{fd_rss_feed_url}}) is available.
 
 If you are instead looking for the more formal literatures of mine,
 they are listed in [my ORCID profile](https://orcid.org/0000-0003-2336-706X).