Gardener 🌱
This is a tool for making a weed.
- weed
- short for "web feed"
- an rss-only blog
(All of the content is in the RSS feed. There is no web content.)
About
This uses pandoc's --template flag to create an rss feed item.
See feed.tmpl.
Motivation
RSS is dead, but we never stopped using it.
We are the necromancers who fill it with the foul mimicry of life.
Requirements
Getting Started
-
Edit the
varssection at the top of the justfile -
Edit the
authortag infeed.tmpl. Or, as a learning exercise, change the contents of the tag to$author$and start including an "author" value in the front matter of all your markdown sources. See how that works? -
Create a new markdown file in
/src -
Give it the following YAML metadata block
--- title: 'title of my post' created_at: 'Mon, 24 Jan 2022 17:26:03 -0700' ---Note that values need to be quoted.
Note further that the timestamp should in RFC 5532 format. (
date -R) -
Write the rest of your post
-
Run
just buildto assemble your xml -
Edit the
uprecipe in the justfile so you can upload to your server. -
If you're feeling swoopy, run
just allto build and upload in one fell swoop.
Acknowledgments
Thanks to the #basement crew for making such a lovely garden full of beautiful weeds <3