alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit 9b33730e52a43e5b56cd07f5721f1f163ed91476 (patch)
parent 6f900f426299c4b9945b0d0fc576c4c226a9ffeb
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun,  7 Feb 2021 17:07:54 -0500

make: Fix timestamps in generated atom.xml

https://validator.w3.org is a huge help!

Diffstat:
Mgenatom.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/genatom.sh b/genatom.sh @@ -21,7 +21,7 @@ cat <<HEADER HEADER set $DATES -printf " %s\n" "<updated>${1}T00:00Z</updated>" +printf " %s\n" "<updated>${1}T00:00:00Z</updated>" for p in $POSTS; do d="$1" shift @@ -30,8 +30,8 @@ for p in $POSTS; do <title>$p</title> <link rel="alternate" type="text/html" href="https://alexkarle.com/$p.html"/> <id>https://alexkarle.com/$p.html</id> - <updated>${d}T00:00Z</updated> - <published>${d}T00:00Z</published> + <updated>${d}T00:00:00Z</updated> + <published>${d}T00:00:00Z</published> <content type="html"> <![CDATA[ ENTRY