From 81d83c12fee8fef289dfa5865c18205c13ddf00a Mon Sep 17 00:00:00 2001 From: lucidiot Date: Sat, 14 Oct 2023 04:40:30 +0000 Subject: [PATCH] Fix missing XML namespace in RSS feeds I got a whole bunch of errors while trying to import my subscriptions into another feedreader, and among them were these feeds because the `atom` XML namespace was not specified. The W3C validator was not happy either! --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index f6133f0..6ed5961 100644 --- a/justfile +++ b/justfile @@ -22,8 +22,8 @@ up: html rss # make episodes rss episoderss: #!/usr/bin/env zsh - echo "cleric + thief" > www/episodes.xml - echo "http://tilde.town/~dozens/clericthief/index.htmladventures of iofi and maddox" >> www/episodes.xml + echo 'cleric + thief' > www/episodes.xml + echo 'http://tilde.town/~dozens/clericthief/index.htmladventures of iofi and maddox' >> www/episodes.xml ed -s << HEREDOC src/index.md | recfmt -f templates/blogitem.rec.template | m4 >> www/episodes.xml /BEGIN/ka /END/kb @@ -44,8 +44,8 @@ episoderss: # make journal rss journalrss: #!/usr/bin/env zsh - echo "cleric + thief" > www/journal.xml - echo "http://tilde.town/~dozens/clericthief/index.htmlbehind the scenes of cleric + thief" >> www/journal.xml + echo 'cleric + thief' > www/journal.xml + echo 'http://tilde.town/~dozens/clericthief/index.htmlbehind the scenes of cleric + thief' >> www/journal.xml ed -s !'markdown src/journal.md' << HEREDOC | recfmt -f templates/journalitem.rec.template | m4 >> www/journal.xml /BEGIN/ka /END/kb