#dev 2026-01-24

2026-01-24 UTC
rgbivvv and blacklight joined the channel
#
[tantek]
agreed on just that for MVP reasons for sure.
rgbivvv-, ax562, grufwub and rgbivvv joined the channel
#
ulhar4409
got Writemonkey to send a basic micropub json request, so far so good 😄
#
ulhar4409
fitting: the loading screen tip as it did that was "sometimes the dragon wins" (sometimes i am dragon)
#
simpleauthority
Potentially silly question, but when doing post type discovery (https://indieweb.org/post-type-discovery), this is only applicable if the type is h-entry right? If I have another "type" (i.e., h-event, h-card, etc), then I render/treat those as their own entity based on the documented properties thereof right?
ax562 joined the channel
#
[aciccarello]
Yes, that's correct
oodani joined the channel
thegreekgeek, DanQ, blacklight, doesnm_, oodani, ax562, TwinAdam, barnaby, thegreekgeek_, proofreed, TwinAdam_, cotsuka, shoesNsocks, rMdes, ax5623, rrix and btrem joined the channel
#
btrem
I'm poking around micropub to see how I can make it work for my site. I would like to be able to create an h-entry post where the file name/slug is based on one of the properties. So e.g. `{"properties": {"content": ["hello world"], "number": 23}}` would be saved as `23.md`. I assume that's something I'd have to do on the client side, right?
#
btrem
In which case I'm going to have to do a little hacking with a micropub client.
#
btrem
Or am I hacking a micropub server to name the filename of the post based on a json value? Now that I think about it, that seems the likely path. In which case I'm hacking a micropub _server_.
#
aaronpk
i would recommend the server generate the filename, not the client
#
btrem
Yeah, I sort of realized that after my first query. But can I have the server generate a file base name by using a property of the micropub post as I outlined above?
#
aaronpk
sure, why not?
#
aaronpk
tho if you want to use generic micropub clients, you should generate the name based on properties generic clients will send, not expect to be able to get a client to add a custom property to the request
#
btrem
haha I don't know. I mean, I don't know how it works. This is brand new territory. :-)
#
btrem
Ah, yes. That makes sense. I might need to modify a client for some of my posts.
#
btrem
Or change how I publish certain kinds of posts. I'd rather not do that, but it might be necessary.
rgbivvv-, TwinAdam and blacklight joined the channel
#
btrem
Any 11ty users kicking around today? I use the 11ty-image plugin for responsive images. Until now, using shortcodes. Thought I'd try the recommended HTML Transform thing instead https://www.11ty.dev/docs/plugins/image/#html-transform
#
btrem
And nothing happens. No image is generated. I have `failOnError` set to false because it crashes on old images that aren't where they are supposed to be. I'm hoping to avoid rewriting a bunch of old posts that had hard-coded images (for reasons I don't remember at the moment) before I commit to the new transform thing.
doesnm_ joined the channel
#
btrem
Update. I changed all images except my new post that I'm testing on to use `eleventy:optional`. And turned on `failOnError`. No error for the post, but no transform, either. Just an empty `<img>` element. I'm missing something here. :-(
barnaby, CrimeWave, DanQ and rgbivvv joined the channel