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/microlog | |
| parent | f9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff) | |
remove website/capsule content
Diffstat (limited to 'http/src/microlog')
| -rw-r--r-- | http/src/microlog/rss.uppxml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/http/src/microlog/rss.uppxml b/http/src/microlog/rss.uppxml deleted file mode 100644 index 20a6ced..0000000 --- a/http/src/microlog/rss.uppxml +++ /dev/null @@ -1,50 +0,0 @@ -#! -SITE_URL="$1" -POSTS="$(ls --reverse "${SRC}/microlog/" | grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\(\.[0-9]\+\)\?\.microlog.upphtml$")" -NOW_RFC_822="$(TZ=UT date +"%a, %d %b %Y %H:%M:%S UT")" -#! - -<rss version='2.0'> - -<channel> -<title>Joe Carstairs’ microlog</title> -<description>My private X feed I guess?</description> -<link>${SITE_URL}/microlog</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} - 17 )) )" -. "${SRC}/microlog/${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}/microlog/${POST_ID}</link> -<guid isPermaLink='true'>${SITE_URL}/microlog/${POST_ID}</guid> -<pubDate>${DATE_PUBLISHED_RFC_822}</pubDate> -<description> -#! -NO_META=1 pp "${SRC}/microlog/$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> |
