From ce40aa272a990b69027b0ac7207dba2b44b57893 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 3 Oct 2021 20:45:53 -0400 Subject: Limit Atom feed to 20 most recent entries 20 is what everyone else seems to do. It's not too large putting them all in right now, but it's infeasible to do forever. --- www/text.causal.agency/feed.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/text.causal.agency/feed.sh b/www/text.causal.agency/feed.sh index f45bd326..53964cfb 100644 --- a/www/text.causal.agency/feed.sh +++ b/www/text.causal.agency/feed.sh @@ -23,7 +23,9 @@ encode() { ' "$@" } -for txt in *.txt; do +set -- *.txt +shift $(( $# - 20 )) +for txt; do entry="${txt%.txt}.7" date=$(grep '^[.]Dd' "$entry" | cut -c 5-) title=$(grep '^[.]Nm' "$entry" | cut -c 5- | encode) -- cgit 1.4.1 form> dontfiles
summary refs log tree commit diff
path: root/home/.lldbinit (unfollow)
Commit message (Expand)Author
2020-09-10Add The Kingdom of GodsJune McEnroe
2020-09-07Add SunglassesJune McEnroe
2020-09-06Add Between the BreathsJune McEnroe
2020-09-04Open /dev/tty in nudgeJune McEnroe
2020-09-04Add nudgeJune McEnroe
2020-09-03Build fbclock with -lzJune McEnroe
2020-08-29Add tweets from retweetsJune McEnroe