diff --git a/scripts/feed.awk b/scripts/feed.awk index aa0fcfe..9723fef 100755 --- a/scripts/feed.awk +++ b/scripts/feed.awk @@ -29,12 +29,12 @@ BEGIN { %s\n\ \n", title " (" $0 ")", $0, uuid, date, title) + if (lastUpdated == "") lastUpdated = date if (getline != 1) break } } END { - sprintf("date -u \"+%%Y-%%m-%%dT%%TZ\"") | getline feedLastUpdated sprintf("uuidgen -s -n @x500 -N \"techn0path\"") | getline documentUuid printf "\n\ @@ -47,5 +47,8 @@ END { %s\n\ urn:uuid:%s\n\ %s\n\ -\n", feedLastUpdated, documentUuid, body +\n", \ + lastUpdated, \ + documentUuid, \ + body } diff --git a/scripts/html.awk b/scripts/html.awk index 3e3f2f9..67a26d0 100755 --- a/scripts/html.awk +++ b/scripts/html.awk @@ -153,6 +153,8 @@ body { margin: 20px; }\n\ %s\n\ %s\n\ \n\ +
\n\ +

If you have any suggestions, let me know at logicartist123@gmail.com. Sorry, I still use GMail. :/

\n\ \n\ ", \ title, \ diff --git a/testing/output.atom b/testing/output.atom index 5baac16..72552d7 100644 --- a/testing/output.atom +++ b/testing/output.atom @@ -5,7 +5,7 @@ techn0path - 2023-05-25T10:31:32Z + 2023-05-20T21:12:38+06:00 urn:uuid:dad753cc-9f1a-55c9-afa5-0f6e50594ed5 "renamed feed.txt to feed.tsv. added hooks. made all of the scripts in scripts/ executable" (hooks/post-commit) diff --git a/testing/output.html b/testing/output.html index 2adbcb7..8be7ed3 100644 --- a/testing/output.html +++ b/testing/output.html @@ -72,5 +72,7 @@ hehehe '```'

nope lol

+
+

If you have any suggestions, let me know at logicartist123@gmail.com. Sorry, I still use GMail. :/

\ No newline at end of file