From 1cdffa967eea30a7947fea23e665fc1e68ffbf58 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 13 Jun 2023 00:12:02 +0100 Subject: use shblg to generate a static site from this repo --- rss.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 rss.xml (limited to 'rss.xml') diff --git a/rss.xml b/rss.xml new file mode 100755 index 0000000..d2ec426 --- /dev/null +++ b/rss.xml @@ -0,0 +1,33 @@ +#!/bin/sh + +cat << EOF + + + + + davidovski + https://davidovski.xyz + davidovski's site +EOF + +for entry in entries/*.html; do + title="$(grep '^# ' $entry)" + title=${title#\# } + + printf "\n" + printf "%s\n" "${title}" + printf "%s\n" "http://davidovski.xyz/$entry" + printf "%s\n" "$(stat -c %z "$entry")" + + + printf "\n" + + done + + +cat << EOF + + +EOF -- cgit v1.2.1