Embedding Mastodon comments with org-static-blog and Emfed
2024 Sep 02
UPDATE: It’s a package on Codeberg: I call it org-static-blog-emfed
.
Follow the instructions there and let me know if you have any questions!
UPDATE: I will package it up, share it, and explain it.
This post is a test of my Emacs lisp functions to:
- post a toot,
- embed the toot in the post,
- and then publish and upload the updated blog.
Notice the chicken-and-egg problem: need a toot (“status”) ID to embed in the post; need the post to link in the toot. I “solve” this conundrum by posting a toot to a not-yet-posted blog entry, then update the blog entry with the toot ID and then publish the blog right quick.
Debugging this was all live with me quickly deleting mistakes. Except somebody still saw the sausage being made behind the curtain. Yecchh.