summaryrefslogtreecommitdiffstats
path: root/.local/bin/idea
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-04-20 17:26:46 +0200
committerJoe <rrbo@proton.me>2023-04-20 17:26:46 +0200
commit406bdada3aa498d773105748a87925340b28b5ee (patch)
tree7974c40320a0dfb02a0f27fae07c28f833fb12dc /.local/bin/idea
parentup (diff)
downloaddotfiles-bsd-406bdada3aa498d773105748a87925340b28b5ee.tar.gz
dotfiles-bsd-406bdada3aa498d773105748a87925340b28b5ee.tar.bz2
dotfiles-bsd-406bdada3aa498d773105748a87925340b28b5ee.tar.xz
dotfiles-bsd-406bdada3aa498d773105748a87925340b28b5ee.tar.zst
dotfiles-bsd-406bdada3aa498d773105748a87925340b28b5ee.zip
ideas
Diffstat (limited to '')
-rwxr-xr-x.local/bin/idea16
1 files changed, 8 insertions, 8 deletions
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