#starrwulfeBTW, is it possible to enable the Post Kinds plugin to work on more than just posts? I'm also using Jan's Indieblocks plug in to use his Likes and Notes sections; Would be great if Post Kinds worked in there too...
#starrwulfeMaybe there's something I can add to just my instance of it to do it if you don't want to go thru the trouble of a whole release
#GWGI thought about doing it that way, but I originally opted for representing all indieweb post types as the post type in WordPress as equivalent to h-entry. If I ever did event, that would be a custom post type.
#GWGSo, what would you want the two plugins to do together?
#GWGIf they are both doing notes in different ways, I mean?
#starrwulfeThe major thing is the ability to access the post type dashboard from the Gutenberg "blocks" dashboard (I know, I know)
#starrwulfeBut that's because the mobile app uses it as well so...
#starrwulfeAnd being able to have custom post types for each Post Kind because you can create different templates per type in the Site Editor.
#GWGSo, that seems to be jan's approach, to do Custom Post Types. So, what features from Post Kinds would you want to progressively enhance Indieblocks?
#starrwulfeThis may also help you deal with "block life" which everyone kinda avoided until now (at least I did 😅)
#GWGThe only one I can think of is the generation of link previews.
#GWGSo, put in a URL, get back all the data on it to render context.
#GWGAnd that is actually independent of Post Kinds.
#starrwulfeI like how you have those. That's the major reason I keep it here.
#GWGIn theory, I could further decouple the rendering from the storage, I suppose.
#GWGI have been doing that because I figured at some point, someone would want to blockify Post Kinds
#starrwulfeInteresting. I've been messing with the resulting custom fields in a few of my entries to play nice with ActivityPub as well so I can have the post response for replies fall outside of h-content and not get carted off into a Mastodon post. Super WIP though.
#GWGIt is also how Micropub, the plugin does it...although partially only if you disable auto-rendering, which I'd really like to remove.
#GWGBut, if you have Post Kinds and Micropub installed, it disables automatic rendering in Micropub.
#starrwulfehmm... I noticed as much when I make a post with Quill for example.
#GWGWe had multiple conversations about not storing the rendered version in the post at all in Micropub, but it was always complicated.
#GWGI also considered storing everything in content, and parsing out the Microformats similarly to the way blocks are parsed out, but that would be an insanely big project
#starrwulfeIf it was blockified with a custom post type, then at least for me I'd put it into a template and take care of it that way.
#starrwulfeSeems like that would be the move unless I'm missing something
#GWGThe goal I keep being willing to do is to gradually make the elements increasingly accessible over the REST API so the blocks could use it. I'm not sure if I'm going to force myself to write the javascript part
#starrwulfeI wonder if Jan would be available to collab... Maybe there's a best of both worlds approach that could be done?
#GWGMy original plan was two different UIs, but the same backend
sknebel joined the channel
#[snarfed]yeah mf2 storage and rendering is arguably the single biggest problem for WordPress IndieWeb right now, and has been for a long time
#[snarfed]apart from Post Kinds, we have no structured storage, it's all in brittle rendered HTML in content, and rendering mf2 for meta depends on per-theme support, which has always confused users and been unsustainable for developers
#[snarfed]honestly I suspect blocks are a good fit for this
#[snarfed]they let you store and then render independent parts of a post as structured data, which is exactly what mf2 is
#[snarfed]and blocks are easily writable and readable by independent plugins and themes
#GWG[snarfed]: I know.. I'm just still not on the block train, but I know I'll be forced on eventually
#[snarfed]totally ok. the point here isn't blocks, it's that we need to start storing post contents as structured mf2 data, not as baked HTML
#GWG[snarfed]: Post Kinds does. Micropub does if you turn off the rendering.
#[snarfed]wait micropub does?! interesting, news to me. how does that work?
#[snarfed]and I guess even more importantly, we really need all of the indieweb plugins to agree on a common data model and set of post data (or whatever) so they can all read and write the _same_ structured mf2
#GWG[snarfed]: It stores every property in mf2_ prefixes except post_content. Which is the issue.
#[snarfed]right, the rendering also needs to render from those dynamically, which is hard
#[snarfed]if we decide the common data model is Post Kinds, great! if it's micropub's, great! but we need to push hard to standardize everything in the ecosystem on some mf2 data model, maybe especially themes
#[snarfed]themes not supporting mf2, or not enough or not correctly, is way too common a problem for users
#GWGThey share the same model. The mf2 prefixed properties where WordPress itself has no equivalent property. There are just two modes in Micropub, which I think was where we ended up in trouble.
#[snarfed]huh, maybe. how do users choose between them?
#GWGBut, we haven't reviewed that decision in years.
#[snarfed]interesting! if post kinds and micropub share data model, and micropub can render content dynamically based on stored structured mf2, that's more progress than I thought. that's great!
#GWG[snarfed]: It can't, but it would be an easy change to have it do that.