Open jpluimers opened 6 years ago
That would be really slick. Great idea.
Should this be in Core as opposed to Press This? I know I suggested that the parsing code be split out into a Core library and used to enhance things like embeds.
@dshanske my first thought would be "of course".
But then I realised I know nothing about release and integration mechanisms behind WordPress.
If core gets released often, then I'd say "yes, core!", so others like "Insert/edit link" editor can benefit from it.
If core gets hardly released, but Press-This more often, then I'd say "Press-This", then decide what next steps to take.
Probably the answer is somewhere in the middle, so this might be a much more viable set of steps:
Parallel to steps 4. and further, the "Insert/edit link" editor can be modified to call the API.
I think this can be developed and tried out in PT and ported over to Core if it works well, much like @jpluimers mentions.
At the same time, PT can work on a Gutenberg block for it so the eventual new editor would benefit.
kraftbj, would you want me to do a PR for Parse This? My fork? It is based on the Press This code.
@dshanske If you're game, I'm cool with having it in Press This proper as to make this plugin a solid place for all types of "Pressing".
@kraftbj what's a "Gutenberg block" apart from the technology Gutenberg used to press books?
@jpluimers Gutenberg is the new editor for WordPress, probably going into 5.0. It is block based. So content will be divided into block elements. You can install a demo as a plugin on your site if you want to try it.
I gave the Press-This functionality another thought and came to this idea:
integrate the title/content retrieval logic into the "Insert/edit link" editor and name it "insert/edit linked content" editorf?
My idea is that there you can paste a URL, then based on it insert this in your post:
For me it would boost my WordPress productivity a lot as many of my posts summarises other on-line content posts and relates them together.