URI: 
       Add mime-type support to the feed output. - tgtimes - The Gopher Times
  HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 59c62038aa875695b93845ce571c099b619edcb9
   DIR parent 7105178f2c22dff02d1b1a6c4f8af2f66ac8a56f
  HTML Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sat, 29 Jan 2022 15:03:48 +0100
       
       Add mime-type support to the feed output.
       
       Thanks Bob for the suggestion!
       
       Diffstat:
         M archive/mk-atom.sh                  |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/archive/mk-atom.sh b/archive/mk-atom.sh
       @@ -19,7 +19,10 @@ do
                find . -type f | cut -d'/' -f 2- \
                | while read -r releasefile;
                do
       -                printf "\t\t<link href=\"%s/%s\" />\n" "${uri}" \
       +                mimetype="$(file --mime-type -b "${releasefile}")"
       +                printf "\t\t<link type=\"%s\" href=\"%s/%s\" />\n" \
       +                        "${mimetype}" \
       +                        "${uri}" \
                                "${releasefile}"
                done
                cd ..