shithub: shithub

Download patch

ref: 87e4a8a7b9fd2c6c7b6c634ac74c9ba57358a3fa
parent: 205aef972b9461f33fd72b692c4d19e59ebc6868
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Oct 24 10:45:35 EDT 2021

feed: set author properly

--- a/feed
+++ b/feed
@@ -12,7 +12,7 @@
 	message=`{htcat $gitfs/object/$phash/msg | sed 1q}
 	description=`''{htcat $gitfs/object/$phash/msg}
 	date=`{date -uf$dfmt `{mtime $gitfs/object/$phash/msg |awk '{print $1}'}}
-	author=`"{htcat $gitfs/object/$phash/author |awk '{print $1}'}
+	author=`"{htcat $gitfs/object/$phash/author | sed 's/(.*) <(.*)>/\2 (\1)/g'}
 	echo '	<item>
 		<guid>'$"guid'</guid>
 		<pubDate>'$"date'</pubDate>