summaryrefslogtreecommitdiff
path: root/http/src/blog
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-13 16:33:51 +0100
committerJoe Carstairs <me@joeac.net>2026-08-13 16:33:51 +0100
commit62e6bab910297aa15d76eb735ce3dd9b5417e26e (patch)
treea98b5fb2c2663e08c21475b1092ccec395e2d87e /http/src/blog
parentf9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff)
remove website/capsule content
Diffstat (limited to 'http/src/blog')
-rw-r--r--http/src/blog/rss.uppxml50
-rw-r--r--http/src/blog/subscribe.trivial.upphtml4
2 files changed, 0 insertions, 54 deletions
diff --git a/http/src/blog/rss.uppxml b/http/src/blog/rss.uppxml
deleted file mode 100644
index 78800aa..0000000
--- a/http/src/blog/rss.uppxml
+++ /dev/null
@@ -1,50 +0,0 @@
-#!
-SITE_URL="$1"
-POSTS="$(ls --reverse "${SRC}/blog/" | grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\(\.[0-9]\+\)\?\.blog.upphtml$")"
-NOW_RFC_822="$(TZ=UT date +"%a, %d %b %Y %H:%M:%S UT")"
-#!
-
-<rss version='2.0'>
-
-<channel>
-<title>Joe Carstairs’ blog</title>
-<description>Short posts on random topics I find interesting</description>
-<link>${SITE_URL}/blog</link>
-<image>${SITE_URL}/images/headshot.webp</image>
-<language>en-GB</language>
-<pubDate>${NOW_RFC_822}</pubDate>
-
-#!
-for post in $POSTS; do
-POST_ID="$(echo ${post} | cut -c1-$(( ${#post} - 13 )) )"
-. "${SRC}/blog/${post}.args"
-DATE_PUBLISHED_RFC_822="$(TZ=UT date --date="$( echo "${POST_ID}" | cut -c1-10)" +"%a, %d %b %Y %H:%M:%S UT")"
-#!
-<item>
-
-<title>${POST_TITLE}</title>
-<link>${SITE_URL}/blog/${POST_ID}</link>
-<guid isPermaLink='true'>${SITE_URL}/blog/${POST_ID}</guid>
-<pubDate>${DATE_PUBLISHED_RFC_822}</pubDate>
-<description>
-#!
-NO_META=1 pp "${SRC}/blog/$post" "${SITE_URL}" \
- | sed "s/&/\\&amp;/g" \
- | sed "s/</\\&lt;/g" \
- | sed "s/>/\\&gt;/g" \
- | sed "s/\"/\\&quot;/g" \
- | sed "s/'/\\&#x27;/g" \
- | sed "s/\`/\\&#x60;/g" \
- | sed "s/\\\$/\\\\\$/g"
-#!
-</description>
-<author>Joe Carstairs</author>
-
-</item>
-#!
-done
-#!
-
-</channel>
-
-</rss>
diff --git a/http/src/blog/subscribe.trivial.upphtml b/http/src/blog/subscribe.trivial.upphtml
deleted file mode 100644
index e842234..0000000
--- a/http/src/blog/subscribe.trivial.upphtml
+++ /dev/null
@@ -1,4 +0,0 @@
-#!
-SITE_URL="${1}"
-#!
-<meta http-equiv=refresh content=0;url=${SITE_URL}/subscribe />