From 406bdada3aa498d773105748a87925340b28b5ee Mon Sep 17 00:00:00 2001
From: Joe <rrbo@proton.me>
Date: Thu, 20 Apr 2023 17:26:46 +0200
Subject: ideas

---
 .local/bin/idea | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to '.local/bin/idea')

diff --git a/.local/bin/idea b/.local/bin/idea
index 0b12494..f97e8f7 100755
--- a/.local/bin/idea
+++ b/.local/bin/idea
@@ -17,7 +17,7 @@ html_fmt='\t\t\t\t<h3>'"${date}"'</h3>\
 '
 rss_fmt='\\t<item>\
 \t  <title>'"${date}"'</title>\
-\t  <pubDate>'"${date_rss}"'</pubDate>\
+\t  <pubDate>'"${date} $(date '+%Z')"'</pubDate>\
 \t  <link>http://jozan.org/thoughts.html</link>\
 \t  <guid>'"$(uuidgen)"'</guid>\
 \t  <description>'"${thought}"'</description>\
@@ -31,10 +31,10 @@ esac
 
 $sed -e '/<\/channel>/i '"${rss_fmt}" \
 	"$HOME"/dev/web/joe-www/thoughts.xml
-#$sed -e '/<!-- thoughts here -->$/{n;s#^#'"${html_fmt}"'#;}' \
-#	"$HOME"/dev/web/joe-www/thoughts.html
-#git -C "$HOME"/dev/web/joe-www add -u
-#git -C "$HOME"/dev/web/joe-www commit -m "Thought: ${date}"
-#git -C "$HOME"/dev/web/joe-www push
-#
-#vps
+$sed -e '/<!-- thoughts here -->$/{n;s#^#'"${html_fmt}"'#;}' \
+	"$HOME"/dev/web/joe-www/thoughts.html
+git -C "$HOME"/dev/web/joe-www add -u
+git -C "$HOME"/dev/web/joe-www commit -m "Thought: ${date}"
+git -C "$HOME"/dev/web/joe-www push
+
+vps
-- 
cgit v1.2.3