#!/bin/sh
fixhtml() {
gawk '
# Skip everything before first
.
/
$title
$link/
$description
$email ($author)
$(date -R)
EOT
for d in *; do
[ -d "$d" ] || continue
cd $d
. ./meta
cat <<- EOT
-
$link/$d/
$title
$link/$d/
$description
$email ($author)
$date_rfc2822
EOT
done
cat <<- EOT
EOT