about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-24 17:19:02 -0500
committerCase Duckworth2022-05-24 17:19:02 -0500
commiteef1e29b2863f6e70ef545809ad4b3b457686412 (patch)
treee3a463484f6d49b8facf6e85e6f10b4d0eeb876b
parentGenerate a feed (diff)
downloadhat-trick-eef1e29b2863f6e70ef545809ad4b3b457686412.tar.gz
hat-trick-eef1e29b2863f6e70ef545809ad4b3b457686412.zip
Add URL to git repo
-rw-r--r--src/_foot.htm1
-rw-r--r--tmpl.feed.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/_foot.htm b/src/_foot.htm index bddc923..3ec6362 100644 --- a/src/_foot.htm +++ b/src/_foot.htm
@@ -2,6 +2,7 @@
2 $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac) 2 $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac)
3 <span id="copyright">(C) 2022 C. Duckworth</span> under the 3 <span id="copyright">(C) 2022 C. Duckworth</span> under the
4 <a href="gcl.html">Good Choices License</a>. 4 <a href="gcl.html">Good Choices License</a>.
5 (<a href="https://git.acdw.net/hat-trick.git">source</a>)
5</footer> 6</footer>
6</body> 7</body>
7</html> 8</html>
diff --git a/tmpl.feed.xml b/tmpl.feed.xml index d133471..4110839 100644 --- a/tmpl.feed.xml +++ b/tmpl.feed.xml
@@ -9,7 +9,7 @@
9 <rights>Copyright (C) 2022 CC-BY-SA Case Duckworth</rights> 9 <rights>Copyright (C) 2022 CC-BY-SA Case Duckworth</rights>
10 <updated>$(date -u +%FT%TZ)</updated> 10 <updated>$(date -u +%FT%TZ)</updated>
11 11
12 $(set -x;cat .tmp/index-list | while read line; do 12 $(cat .tmp/index-list | while read line; do
13 entry_date="$(echo "$line" | sed 's/.*<li><!-- \(.*\) -->.*/\1/')" 13 entry_date="$(echo "$line" | sed 's/.*<li><!-- \(.*\) -->.*/\1/')"
14 entry_title="$(echo "$line" | sed 's#.*<a href=".*">\(.*\)</a>.*#\1#')" 14 entry_title="$(echo "$line" | sed 's#.*<a href=".*">\(.*\)</a>.*#\1#')"
15 entry_html="$(echo "$line" | sed 's#.*<a href="\(.*\)">.*#\1#')" 15 entry_html="$(echo "$line" | sed 's#.*<a href="\(.*\)">.*#\1#')"