diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-13 16:33:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-13 16:33:51 +0100 |
| commit | 62e6bab910297aa15d76eb735ce3dd9b5417e26e (patch) | |
| tree | a98b5fb2c2663e08c21475b1092ccec395e2d87e /http/src/blog | |
| parent | f9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff) | |
remove website/capsule content
Diffstat (limited to 'http/src/blog')
| -rw-r--r-- | http/src/blog/rss.uppxml | 50 | ||||
| -rw-r--r-- | http/src/blog/subscribe.trivial.upphtml | 4 |
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/&/\\&/g" \ - | sed "s/</\\</g" \ - | sed "s/>/\\>/g" \ - | sed "s/\"/\\"/g" \ - | sed "s/'/\\'/g" \ - | sed "s/\`/\\`/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 /> |
