summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatherine Peeters <katherine.peeters@leagueh.xyz>2022-02-03 17:17:24 -0800
committerKatherine Peeters <katherine.peeters@leagueh.xyz>2022-02-03 17:17:24 -0800
commit0ee59e7e065e6a7edac473e913d6fbd89a089119 (patch)
tree0d3c93f41261aec4c11638127a05c7b856585576
parenta9564c015628f59ce34000811b8ff95a236e9d38 (diff)
downloadloh-website-0ee59e7e065e6a7edac473e913d6fbd89a089119.tar.gz
Attempted to fix RSS feeds
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d39816d..5eba701 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ all: $(RSS_XML)
echo "<title>`sed -n '/^# .*/p' $$i | cut -c 3-`</title>" >> $@; \
echo "<pubDate>`basename $$i | head -c8 | xargs date '+%a, %d %b %Y' -d`</pubDate>" >> $@; \
echo "<link>https://leagueh.xyz/$$i</link>" | sed 's/site\///g' >> $@; \
- echo "<description>`REQUEST_METHOD=GET PATH_INFO=$$i ./gmi2html.cgi | tail -n +4 | sed '/^#.*/d'`</description>" >> $@; \
+ echo "<description>`REQUEST_METHOD=GET PATH_INFO=$$i ./gmi2html.cgi | tail -n +4 | sed '/^#.*/d ; s/</\&lt;/g ; s/>/\&gt;/g'`</description>" >> $@; \
cat rss_item_footer.xml >> $@; \
done
cat rss_footer.xml >> $@