diff options
author | Joe <rrbo@proton.me> | 2023-04-20 17:26:46 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-04-20 17:26:46 +0200 |
commit | 406bdada3aa498d773105748a87925340b28b5ee (patch) | |
tree | 7974c40320a0dfb02a0f27fae07c28f833fb12dc /.local/bin/idea | |
parent | up (diff) | |
download | dotfiles-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 '.local/bin/idea')
-rwxr-xr-x | .local/bin/idea | 16 |
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 |