From ce018d219373b675fe1e63c323eaf06e65713f75 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 21 Jul 2023 11:05:15 +0200 Subject: move non-executables to site subdir --- site/rss.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 site/rss.xml (limited to 'site/rss.xml') diff --git a/site/rss.xml b/site/rss.xml new file mode 100755 index 0000000..d2ec426 --- /dev/null +++ b/site/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