From bd4d40bc5dbb74ba5808ab42e9c0adac0c07c9f8 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 22 Feb 2021 17:51:38 -0500 Subject: Iterate over text files to generate feed So that only "published" text files are included. --- www/text.causal.agency/feed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/text.causal.agency/feed.sh b/www/text.causal.agency/feed.sh index fe028621..f45bd326 100644 --- a/www/text.causal.agency/feed.sh +++ b/www/text.causal.agency/feed.sh @@ -23,8 +23,8 @@ encode() { ' "$@" } -for entry in *.7; do - txt="${entry%.7}.txt" +for txt in *.txt; do + entry="${txt%.txt}.7" date=$(grep '^[.]Dd' "$entry" | cut -c 5-) title=$(grep '^[.]Nm' "$entry" | cut -c 5- | encode) summary=$(grep '^[.]Nd' "$entry" | cut -c 5- | encode) -- cgit 1.4.1 b'>dontfiles
summary refs log tree commit diff
path: root/www/photo.causal.agency/2024-08-02/000025490036.txt (unfollow)
Commit message (Expand)Author
2026-03-23Add -ll for hilexJune McEnroe
2026-02-17Remove photo metadata directoriesJune McEnroe
2026-02-17Ignore photo metadataJune McEnroe
2026-02-16Populate films datalist with 20 most recently usedJune McEnroe
2026-02-16Select last used bodyJune McEnroe
2026-02-15Don't break on trip with removed bodyJune McEnroe
2026-02-11Keep manpath.conf sortedJune McEnroe