#dev 2024-06-19

2024-06-19 UTC
Yummers, laptop_, [0x3b0b], AramZS, [jantuomi], [KevinMarks], nertzy, Guest6, Oscar, oxtyped, geoffo, [Murray] and [davidmead] joined the channel
#
[davidmead]
ran the `rel=me` validator on my site. Surprised that a) letterboxd worked perfectly πŸ™‚, and b) I have so many to now remove 😞
#
gRegor
oh nice that letterboxd supports that
#
gRegor
what is letterboxd
#
Loqi
Letterboxd is a silo for keeping track of films and reviews in what they call a "film diary" https://indieweb.org/Letterboxd
[bneil], Salt and ipv6rs joined the channel
#
[tantek]
Anyone know when they added support? Did they blog about it?
#
gRegor
I did a brief search and glance through their blog, didn't see an announcement
jonnybarnes joined the channel
#
gRegor
But maybe there's a dev blog or issue tracker somewhere
btrem joined the channel
#
btrem
If I understand correctly, micropub is a protocol to turn an http request into an html web page. What if I want to convert an http post into a yaml file? Or markdown file with yaml frontmatter?
#
btrem
...ideally a file that's committed to a github repo.
#
aaronpk
Micropub is a protocol for creating posts, using the microformats vocabulary. I store my posts as YAML frontmatter with markdown, so my micropub endpoint takes the content in the micropub request and stores it in my site's internal format
[snarfed] joined the channel
#
[snarfed]
great point, micropub's transport format is (parsed) mf2, not any specific serialization
#
btrem
So I would need to write a program of some sort to sit on my server as a micropub endpoint, and posting to that endpoint would invoke the program which would create and save the file. Is that right?
#
btrem
The indieweb page on micropub/servers is mostly a list of whose sites use micropub, but not how they're doing it. There are a few software projects listed (Wordpress, Known, etc.) but not for my ssg, which is 11ty. But in any case, any file would have to be added to my GH repo.
#
[snarfed]
yup that would be your micropub server. I think I remember existing micropub projects somewhere that store posts in git
[qubyte] joined the channel
#
[qubyte]
That’s pretty much what mine does (adds a file by making GitHub add a commit through the content API, which then triggers a build). I’m guessing there are a fair few similar solutions in the wild like this.
#
gRegor
I think IndieKit has micropub and publishes to 11ty? Or maybe indiekit is its own full server? Not sure