indieweb / wordpress-micropub

A Micropub Endpoint plugin for WordPress
https://wordpress.org/plugins/micropub
51 stars 12 forks source link

redesign to coordinate with other mf2 plugins and themes #85

Open dshanske opened 6 years ago

dshanske commented 6 years ago

Right now, rendering is called directly by the creation process. It should be called by filter. This was originally an option, but was removed in a previous commit.

This code should be less tightly intertwined with the Micropub server code.

snarfed commented 6 years ago

i'm repurposing this issue for the big new redesign we want to do for coordinating with other plugins and themes that render mf2 data. (@dshanske, please holler if you think i shouldn't!)

we're going to implement @kraftbj's design sketch in https://github.com/indieweb/wordpress-uf2/issues/30#issuecomment-312375228 . here's an initial draft of the requirements for this plugin and a possible design.

snarfed commented 6 years ago

I'm not actively working on this right now, so it's available if anyone else wants to. otherwise I'll get to it eventually!

snarfed commented 6 years ago

i still don't use micropub much myself, so I'm gradually realizing that I'm the wrong person to own this plugin or drive its development.

so, i don't expect to work on this change myself, but it's still probably still the single most important thing we need to do right now, for IndieWeb WordPress authoring overall.

just FYI @dshanske @pfefferle @miklb et al!

(I'm also happy to transfer it to the @indieweb org at some point! that won't let us do anything we can't already do now though, with it here, so probably not high priority yet. coordinating people and time is more important.)

dshanske commented 6 years ago

I wonder if there is a solution that doesn't involve duplication of effort. I would gladly take on the plugin but I have a lot I am maintaining

pfefferle commented 6 years ago

I can review code and help brainstorming, but I am also not really using the plugin (actively)...

dshanske commented 6 years ago

I am only partially using it, but more than either of you. We need more involvement in everything, to be honest. Recruitment time?

dshanske commented 6 years ago

I am still wondering if we can save development resources by spinning out the mf2 rendering in Post Kinds and Micropub into one single rendering project. One less thing to develop in parallel.

pfefferle commented 6 years ago

There are central rendering projects called themes... I do not see any advantages in adding a third plugin to the stack that does nothing but rendering... It makes the whole plugin stack even more complex...

dshanske commented 6 years ago

Agreed, but we know that the majority of themes don't support the rendering we need. So what I built was a template engine that can be put into a theme, but has defaults in the plugin. With Gutenberg coming, that may have to switch to block based editing, so I would wait till we see how that goes.

dshanske commented 6 years ago

Maybe that should be our decision. Table solving this problem till we have a proposal that factors in Gutenberg.

dshanske commented 6 years ago

It may even help

snarfed commented 11 months ago

Could https://make.wordpress.org/core/2023/10/15/introducing-block-hooks-for-dynamic-blocks/ help with this?