From 62c74d974c3ee26c81e0bdb997877043896a6128 Mon Sep 17 00:00:00 2001 From: Hugo Thunnissen Date: Sat, 8 Feb 2020 10:42:35 +0100 Subject: [PATCH] Declare guid not to be a permalink --- feed.xml | 7 ++++--- generate-blog.bash | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/feed.xml b/feed.xml index ce968d8..2aa8a55 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ https://hugot.nl/blog.html Hugo's personal blog en-us - Sat 08 Feb 2020 10:22:11 AM CET - Sat 08 Feb 2020 10:22:11 AM CET + Sat 08 Feb 2020 10:41:46 AM CET + Sat 08 Feb 2020 10:41:46 AM CET http://blogs.law.harvard.edu/tech/rss Hugo's Custom Bash Script social@hugot.nl @@ -15,6 +15,7 @@ Engineering student from the Netherlands. Software development is a huge part of my life, I write a lot of (weird) programs to scratch my own itch and most software I create is open_source by default. I also run a one-man company that -provides some IT services on the side.Sat 08 Feb 2020 09:30:06 AM CETposts/introduction/index.html#MjM3MzUyOTAwNSA5MDYK +provides some IT services on the side.Sat 08 Feb 2020 09:30:06 AM CET Introduction MjM3MzUyOTAwNSA5MDYK + diff --git a/generate-blog.bash b/generate-blog.bash index 36ce235..3a999ad 100755 --- a/generate-blog.bash +++ b/generate-blog.bash @@ -184,7 +184,8 @@ while read -r post_html; do el-enclose link "$site_url/$href" el-enclose description "$excerpt" el-enclose pubDate "$pubdate" - el-enclose guid "${href}#$(base64 <(cksum <<<"$text"))" + + echo "$title$(base64 <(cksum <<<"$text"))" el-close item } >> "$new_rss"