From 3e7021845cad17855d40713d08854eac603ab1d0 Mon Sep 17 00:00:00 2001 From: Kosaki Date: Sat, 18 Jul 2020 23:31:23 +0200 Subject: [PATCH] change comments for rss feed and switch rsync to quitet output --- blog-refresh.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/blog-refresh.sh b/blog-refresh.sh index 2ac8e8a..0109b91 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -49,10 +49,8 @@ html_entry() { } rss_entry() { - # The content is the output minus the first line - # (which would otherwise be a redundant title in most rss readers) - # and with escaped html. - # The sed expression is stolen from https://stackoverflow.com/questions/12873682/12873723#12873723 + # this is made to represent what heise.de has done with + # their rss/atom feeds and doesn't need any escaping output_rss " $1 $(date --iso-8601=seconds -d $4) @@ -66,7 +64,6 @@ $(grep -h '^

' "dist/$2" | head -n 1 | sed 's/

//;s/<\/p>//;/