Declare guid not to be a permalink

master
Hugo Thunnissen 4 years ago
parent 2353422acb
commit 62c74d974c

@ -5,8 +5,8 @@
<link>https://hugot.nl/blog.html</link>
<description>Hugo's personal blog</description>
<language>en-us</language>
<pubDate>Sat 08 Feb 2020 10:22:11 AM CET</pubDate>
<lastBuildDate>Sat 08 Feb 2020 10:22:11 AM CET</lastBuildDate>
<pubDate>Sat 08 Feb 2020 10:41:46 AM CET</pubDate>
<lastBuildDate>Sat 08 Feb 2020 10:41:46 AM CET</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Hugo's Custom Bash Script</generator>
<managingEditor>social@hugot.nl</managingEditor>
@ -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.</description><pubDate>Sat 08 Feb 2020 09:30:06 AM CET</pubDate><guid>posts/introduction/index.html#MjM3MzUyOTAwNSA5MDYK</guid></item>
provides some IT services on the side.</description><pubDate>Sat 08 Feb 2020 09:30:06 AM CET</pubDate><guid isPermaLink="false"> Introduction MjM3MzUyOTAwNSA5MDYK</guid>
</item>
</channel>
</rss>

@ -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 "<guid isPermaLink=\"false\">$title$(base64 <(cksum <<<"$text"))</guid>"
el-close item
} >> "$new_rss"

Loading…
Cancel
Save