From 319c88446590139224d510eb38b9ea13fadc2030 Mon Sep 17 00:00:00 2001 From: dozens Date: Thu, 22 Feb 2024 11:16:16 -0700 Subject: [PATCH] list --- justfile | 24 +++++++ src/00001.md | 2 +- src/00017.md | 13 ++++ src/feed.rec | 187 ++++++++++++++++++++++++++++++++++++++++++++++++ www/00001.html | 6 +- www/00017.html | 190 +++++++++++++++++++++++++++++++++++++++++++++++++ www/feed.xml | 21 +++++- www/index.html | 4 +- 8 files changed, 441 insertions(+), 6 deletions(-) create mode 100644 src/00017.md create mode 100644 src/feed.rec create mode 100644 www/00017.html diff --git a/justfile b/justfile index 1f7af88..0b1cbeb 100644 --- a/justfile +++ b/justfile @@ -43,3 +43,27 @@ up: # build and upload all: build up + +# build recfeed +recfeed: + #!/usr/bin/env sh + if [ ! -f src/feed.rec ] + then recinf -d /Users/cb/blogs/lunaware/doc/feed.rec > src/feed.rec + fi + for file in `ls src/*.md | grep 'src/\d\{5\}.md'` + do + sed -e '/^---$/,/^---$/!d' -e '/---/d' "$file" + echo "location: $(pwd)/$file" + echo + done \ + | recsel \ + -p title,date:published,location \ + | awk 'BEGIN { RS=""; FS="\n" } + { + s = "recins src/feed.rec -t item --verbose"; + for(x = 1; x <= NF; x++) { + split($x,a,": "); + s = s " -f " a[1] " -v \"" a[2] "\""; + } + system(s) + }' diff --git a/src/00001.md b/src/00001.md index c61ef61..ebc6317 100644 --- a/src/00001.md +++ b/src/00001.md @@ -1,6 +1,6 @@ --- name: 00001 -title: stuff that start with s that i like to do when i spend the afternoon at the gym +title: stuff that starts with s that i like to do when i spend the afternoon at the gym date: 2023-09-21 --- diff --git a/src/00017.md b/src/00017.md new file mode 100644 index 0000000..8f986f8 --- /dev/null +++ b/src/00017.md @@ -0,0 +1,13 @@ +--- +name: 00017 +title: everyday i fill things with water +date: 2024-02-22 +--- + +- water bottles +- water bowl for dog +- tea kettle +- humidifier +- difuser +- bathtub (most days) +- CPAP diff --git a/src/feed.rec b/src/feed.rec new file mode 100644 index 0000000..94c22dc --- /dev/null +++ b/src/feed.rec @@ -0,0 +1,187 @@ +%rec: feed +%doc: metadata about a recfeed +%type: updated date +%type: author,title,summary,location line +%mandatory: author title location updated +%allowed: author title summary location updated contact + +author: dozens +title: lists +summary: a blog that is just a bunch of lists +location: /Users/cb/blogs/listblog/src/feed.rec +updated: 2024-02-11T12:41:53-07:00 + +%rec: item +%doc: an item belonging to a recfeed +%key: id +%type: id int +%auto: id +%type: title,summary,location line +%type: published,updated date +%mandatory: id title location published +%allowed: id title location published summary updated + +id: 0 +title: stuff that starts with s that i like to do when i spend the afternoon at the gym +published: 2023-09-21 +location: /Users/cb/blogs/listblog/src/00001.md + +id: 1 +title: how to cheer someone up +published: 2023-09-23 +location: /Users/cb/blogs/listblog/src/00002.md + +id: 2 +title: markup and layout i have used to publish games on itch.io +published: 2023-09-26 +location: /Users/cb/blogs/listblog/src/00003.md + +id: 3 +title: things that subvert expectations of normalcy if you don't already know the ending +published: 2023-09-28 +location: /Users/cb/blogs/listblog/src/00004.md + +id: 4 +title: things that my elderly dog cannot or will not do any longer that taken as a whole let me know that i will need to put him down soon +published: 2023-09-30 +location: /Users/cb/blogs/listblog/src/00005.md + +id: 5 +title: for kindrobot, some good games to sideload on your playdate +published: 2023-10-06 +location: /Users/cb/blogs/listblog/src/00006.md + +id: 6 +title: every studio i have ever taught yoga at has ended up closing +published: 2023-10-10 +location: /Users/cb/blogs/listblog/src/00007.md + +id: 7 +title: things that are not coins according to coinstar.com +published: 2023-10-11 +location: /Users/cb/blogs/listblog/src/00008.md + +id: 8 +title: how in the name of heck are you supposed to do all the things in a day +published: 2023-10-20 +location: /Users/cb/blogs/listblog/src/00009.md + +id: 9 +title: recent creative works based on frasier +published: 2023-10-21 +location: /Users/cb/blogs/listblog/src/00010.md + +id: 10 +title: all of my computing devices +published: 2023-10-23 +location: /Users/cb/blogs/listblog/src/00011.md + +id: 11 +title: a typical day of screentime +published: 2023-11-16 +location: /Users/cb/blogs/listblog/src/00012.md + +id: 12 +title: how to get into the holiday spirit +published: 2023-12-07 +location: /Users/cb/blogs/listblog/src/00013.md + +id: 13 +title: new year resolutions +published: 2024-01-02 +location: /Users/cb/blogs/listblog/src/00014.md + +id: 14 +title: things i've always wanted to say +published: 2024-01-27 +location: /Users/cb/blogs/listblog/src/00015.md + +id: 15 +title: software i love +published: 2024-02-02 +location: /Users/cb/blogs/listblog/src/00016.md + +id: 16 +title: stuff that starts with s that i like to do when i spend the afternoon at the gym +published: 2023-09-21 +location: /Users/cb/blogs/listblog/src/00001.md + +id: 17 +title: how to cheer someone up +published: 2023-09-23 +location: /Users/cb/blogs/listblog/src/00002.md + +id: 18 +title: markup and layout i have used to publish games on itch.io +published: 2023-09-26 +location: /Users/cb/blogs/listblog/src/00003.md + +id: 19 +title: things that subvert expectations of normalcy if you don't already know the ending +published: 2023-09-28 +location: /Users/cb/blogs/listblog/src/00004.md + +id: 20 +title: things that my elderly dog cannot or will not do any longer that taken as a whole let me know that i will need to put him down soon +published: 2023-09-30 +location: /Users/cb/blogs/listblog/src/00005.md + +id: 21 +title: for kindrobot, some good games to sideload on your playdate +published: 2023-10-06 +location: /Users/cb/blogs/listblog/src/00006.md + +id: 22 +title: every studio i have ever taught yoga at has ended up closing +published: 2023-10-10 +location: /Users/cb/blogs/listblog/src/00007.md + +id: 23 +title: things that are not coins according to coinstar.com +published: 2023-10-11 +location: /Users/cb/blogs/listblog/src/00008.md + +id: 24 +title: how in the name of heck are you supposed to do all the things in a day +published: 2023-10-20 +location: /Users/cb/blogs/listblog/src/00009.md + +id: 25 +title: recent creative works based on frasier +published: 2023-10-21 +location: /Users/cb/blogs/listblog/src/00010.md + +id: 26 +title: all of my computing devices +published: 2023-10-23 +location: /Users/cb/blogs/listblog/src/00011.md + +id: 27 +title: a typical day of screentime +published: 2023-11-16 +location: /Users/cb/blogs/listblog/src/00012.md + +id: 28 +title: how to get into the holiday spirit +published: 2023-12-07 +location: /Users/cb/blogs/listblog/src/00013.md + +id: 29 +title: new year resolutions +published: 2024-01-02 +location: /Users/cb/blogs/listblog/src/00014.md + +id: 30 +title: things i've always wanted to say +published: 2024-01-27 +location: /Users/cb/blogs/listblog/src/00015.md + +id: 31 +title: software i love +published: 2024-02-02 +location: /Users/cb/blogs/listblog/src/00016.md + +id: 32 +title: everyday i fill things with water +published: 2024-02-22 +location: /Users/cb/blogs/listblog/src/00017.md diff --git a/www/00001.html b/www/00001.html index 5f5c25f..6a861c2 100644 --- a/www/00001.html +++ b/www/00001.html @@ -5,7 +5,7 @@ - stuff that start with s that i like to do when i spend the afternoon at the gym + stuff that starts with s that i like to do when i spend the afternoon at the gym + + + +
+

everyday i fill things with water

+

2024-02-22

+
+ + + diff --git a/www/feed.xml b/www/feed.xml index bd7dcfa..e0096ac 100644 --- a/www/feed.xml +++ b/www/feed.xml @@ -1,7 +1,7 @@ list blog http://tilde.town/~dozens/listblog/index.htmla blog that is just a bunch of lists - 00001: stuff that start with s that i like to do when i spend the afternoon at the gym + 00001: stuff that starts with s that i like to do when i spend the afternoon at the gym http://tilde.town/~dozens/listblog/00001.html 2023-09-21 00001 Thu Sep 21 00:00:00 MDT 2023 @@ -415,4 +415,23 @@ ]]> + + 00017: everyday i fill things with water + http://tilde.town/~dozens/listblog/00017.html + 2024-02-22 00017 + Thu Feb 22 00:00:00 MST 2024 + + + water bottles +
  • water bowl for dog +
  • tea kettle +
  • humidifier +
  • difuser +
  • bathtub (most days) +
  • CPAP + ]]> + + diff --git a/www/index.html b/www/index.html index 46e0eb7..aec0251 100644 --- a/www/index.html +++ b/www/index.html @@ -199,6 +199,8 @@

    a blog that is just a bunch of lists