shithub: sirjofri_de

Download patch

ref: 1626d4873c0b1cac2ffddc23c435b6524b942a8a
parent: d589942e564c877c4a0f08f3459d5a1e3657c1ba
author: sirjofri <sirjofri@sirjofri.de>
date: Sun Jul 30 13:50:59 EDT 2023

fixes heading in feed

--- a/mkfile
+++ b/mkfile
@@ -48,7 +48,8 @@
 	<updated>'^`"{date -t | tr -d $nl}^'</updated>'
 		for(i in $prereq){
 			ifs=''
-			title=`{sed '2q' $i | tr -d $nl}
+			sourcefile=`{echo $i | sed 's/ht$/txt/g' | tr -d $nl}
+			title=`{sed '2q' $sourcefile | tr -d $nl}
 			content=`{./txt2html $i | cat}
 			link=$DOMAIN^`{echo -n $i | sed 's:\.ht$:/:' | tr -d $nl}
 			updated=`{date -t `{basename $i | sed 's/\.ht$//'} | tr -d $nl}