blog

git clone https://git.ce9e.org/blog.git

commit
af4e913d6f1f4b59f9d62925a96782785a010860
parent
43c14d4ee236050382906d53d4dafe92c3a07160
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-12-19 21:59
Revert "feed: fix content mime type"

This reverts commit 36615dd16298d6419156cf2a4a97ac815301ad3e.

This is not actually a mime type https://www.rfc-editor.org/rfc/rfc4287#section-3.1.1

Diffstat

M feed.sh 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/feed.sh b/feed.sh

@@ -29,7 +29,7 @@ ls _content/posts | tac | $select | while read l; do
   29    29 	echo "		<link href=\"$url\" />"
   30    30 	echo "		<id>$url</id>"
   31    31 	echo "		<updated>$(grep '^date:' "$yml" | head -n 1 | sed 's/date: //' | escape)T00:00:00Z</updated>"
   32    -1 	echo '		<content type="text/html">'
   -1    32 	echo '		<content type="html">'
   33    33 	cat "$html" | escape
   34    34 	echo '		</content>'
   35    35 	echo '	</entry>'