|
This was such a nice read. I especially resonated with "posting versus publishing" and that a blog can be an "archive and long memory".
|
|
I've now implemented a way to download mentions from Webmention.io and display them on my blog posts.
My blog is a static site. So the way it works is that I download mentions via the Webmention.io API. Then I extract only the information that I need to display the mentions on my blog. I save that information in json files that I can read when the website is generated. Right now, they look like this:
$ cat posts/2023/04/06/what-should-a-ci-server-do/mentions.json | jq
{
...
|
|
Here is how I test microformats markup on my website.
First I install mf2py:
sudo dnf install python3-mf2py
Then I define this one-liner Bash function:
mf2test() { python -c 'import sys; import mf2py; import json; print(json.dumps(mf2py.parse(url=sys.argv[1])))' $1 | jq; }
And then I can test a website like this:
$ mf2test https://blog.rickardlindberg.me/2026/02/05/075110.html
{
"items": [
{
"type": [
"h-entry"
...
|