iAdd mime-type support to the feed output. - tgtimes - The Gopher Times Err bitreich.org 70
hgit clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes URL:git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes bitreich.org 70
1Log /scm/tgtimes/log.gph bitreich.org 70
1Files /scm/tgtimes/files.gph bitreich.org 70
1Refs /scm/tgtimes/refs.gph bitreich.org 70
1Tags /scm/tgtimes/tag bitreich.org 70
1README /scm/tgtimes/file/README.md.gph bitreich.org 70
i--- Err bitreich.org 70
1commit 59c62038aa875695b93845ce571c099b619edcb9 /scm/tgtimes/commit/59c62038aa875695b93845ce571c099b619edcb9.gph bitreich.org 70
1parent 7105178f2c22dff02d1b1a6c4f8af2f66ac8a56f /scm/tgtimes/commit/7105178f2c22dff02d1b1a6c4f8af2f66ac8a56f.gph bitreich.org 70
hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70
iDate: Sat, 29 Jan 2022 15:03:48 +0100 Err bitreich.org 70
i Err bitreich.org 70
iAdd mime-type support to the feed output. Err bitreich.org 70
i Err bitreich.org 70
iThanks Bob for the suggestion! Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M archive/mk-atom.sh | 5 ++++- Err bitreich.org 70
i Err bitreich.org 70
i1 file changed, 4 insertions(+), 1 deletion(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/archive/mk-atom.sh b/archive/mk-atom.sh /scm/tgtimes/file/archive/mk-atom.sh.gph bitreich.org 70
i@@ -19,7 +19,10 @@ do Err bitreich.org 70
i find . -type f | cut -d'/' -f 2- \ Err bitreich.org 70
i | while read -r releasefile; Err bitreich.org 70
i do Err bitreich.org 70
i- printf "\t\t\n" "${uri}" \ Err bitreich.org 70
i+ mimetype="$(file --mime-type -b "${releasefile}")" Err bitreich.org 70
i+ printf "\t\t\n" \ Err bitreich.org 70
i+ "${mimetype}" \ Err bitreich.org 70
i+ "${uri}" \ Err bitreich.org 70
i "${releasefile}" Err bitreich.org 70
i done Err bitreich.org 70
i cd .. Err bitreich.org 70
.