diff --git a/blog/feed.xml b/blog/feed.xml new file mode 100644 index 0000000..befdda7 --- /dev/null +++ b/blog/feed.xml @@ -0,0 +1,15 @@ + + + + + askiiart.net blog + The feed for askiiart.net but just the blog, I guess + https://askiiart.net/blog/ + Sun, 15 Oct 2023 17:38:30 +0000 + + Marlin Boot Animations + https://askiiart.net/til/marlin-boot-animations.html + + + + \ No newline at end of file diff --git a/feed.xml b/feed.xml index c94f051..32a71df 100644 --- a/feed.xml +++ b/feed.xml @@ -5,7 +5,7 @@ askiiart.net The feed for askiiart.net, I guess https://askiiart.net - Sun, 15 Oct 2023 17:10:25 +0000 + Sun, 15 Oct 2023 17:38:30 +0000 My Stack https://askiiart.net/stack.html diff --git a/generate-rss.sh b/generate-rss.sh index b360bd1..cd6d30b 100755 --- a/generate-rss.sh +++ b/generate-rss.sh @@ -14,4 +14,30 @@ find . -name "*.html" | while read -r item; do TITLE=$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat) printf "\n \n ${TITLE}\n https://askiiart.net/${item}.html\n " >>feed.xml done -printf "\n\n\n" >>feed.xml \ No newline at end of file +printf "\n\n\n" >>feed.xml + +# same thing, but for TIL only +cd ./til +printf "\n\n\n\n askiiart.net TIL\n The feed for askiiart.net but just TIL, I guess\n https://askiiart.net/til/\n $(TZ='UTC' date --rfc-2822)" >feed.xml +find . -name "*.html" | while read -r item; do + # Skip template.html, wishlist.html, resume.html, and portfolio.html + item="${item%.*}" + item="${item#./}" + TITLE=$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat) + printf "\n \n ${TITLE}\n https://askiiart.net/til/${item}.html\n " >>feed.xml +done +printf "\n\n\n" >>feed.xml +cd .. + +# same thing, but for blog only +cd ./blog +printf "\n\n\n\n askiiart.net blog\n The feed for askiiart.net but just the blog, I guess\n https://askiiart.net/blog/\n $(TZ='UTC' date --rfc-2822)" >feed.xml +find . -name "*.html" | while read -r item; do + # Skip template.html, wishlist.html, resume.html, and portfolio.html + item="${item%.*}" + item="${item#./}" + TITLE=$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat) + printf "\n \n ${TITLE}\n https://askiiart.net/til/${item}.html\n " >>feed.xml +done +printf "\n\n\n" >>feed.xml +cd .. \ No newline at end of file diff --git a/til/akkoma-in-docker.html b/til/akkoma-in-docker.html index 9561d26..8e37a41 100644 --- a/til/akkoma-in-docker.html +++ b/til/akkoma-in-docker.html @@ -25,6 +25,8 @@

...would instead become...

./docker-resources/manage.sh mix pleroma.user invite
+

Other than those minor issues, you can just follow the + docs.