From 0b09eab4f26d3fdb4f210156640be6e8dfcc238f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 21 Jun 2025 10:14:31 +0200 Subject: initial commit --- genrss.sh | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 genrss.sh (limited to 'genrss.sh') diff --git a/genrss.sh b/genrss.sh new file mode 100755 index 0000000..f92c1ac --- /dev/null +++ b/genrss.sh @@ -0,0 +1,50 @@ +#!/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.sh + cat <<- EOT + + $link/$d/ + $title + $link/$d/ + $description + $email ($author) + $date_rfc2822 + + + + + EOT +done + +cat <<- EOT + + +EOT -- cgit v1.2.3