#wordpress 2020-03-15

2020-03-15 UTC
bradleyallen, [jgmac1106], alina, gRegorLove, cal, [KevinMarks], [jeremycherfas], [LewisCowles], [Ana_Rodrigues], [Dan_Q], [barryf], [Anna_Dodson], [calumryan], [Murray], [eddie], [suze_shardlow1], TroyDiscord[m] and doubleloop joined the channel
#
doubleloop
GWG: I've been playing around with posse'ing to meetup via bridgy, and put a pull request in to syndication links with a meetup provider..
#
doubleloop
It all seems to work OK for me but let me know whether it's the right way to go about it or not
#
GWG
I will have a look
#
GWG
doubleloop: For a Bridgy provider, looks good
chrisaldrich, [Ana_Rodrigues], [chrisaldrich] and [Dan_Q] joined the channel
#
GWG
[Dan_Q]: Can you describe your solution
[calumryan] joined the channel
#
[Dan_Q]
It's all very prototypey/experimental, and my goal isn't actually post-kinds-for-Gutenberg (that's just a side-effect) because I've got OTHER Gutenberg-unfriendly plugins too! My goal, though, is to outsource microformats-stuff to my theme and just use post-kinds for the backend interface.
#
[Dan_Q]
That said, here's what I've been doing:
#
[Dan_Q]
* Writing a Gutenberg meta-widget for selection of post kinds. I first just set 'show_in_rest' and 'hierarchical' to get Category-style "checkboxes" with which to specify the "kind" of a post, but then started working on a "proper" meta box to give me a drop-down. Then I broke it.
#
[Dan_Q]
* Started making "blocks" for different functions; the first one I'm looking at is for citing/embedding; the idea being that you can e.g. make a post of kind "reply-to" and then add a "cite" block to it, containing the stuff you're replying "to" as a blockquote (optionally empty, I suppose) and the relevant metadata (right now it's only static; I've not made a form yet because I'm very new to React).
#
[Dan_Q]
For many purposes the ultimate solution here would be _harder_ for authors than the current approach, but would allow e.g. replies that cite multiple sources, for example. Webmention still seems to work regardless (it doesn't care).
#
[Dan_Q]
I'm going to step back and think about it a bit, and perhaps do a bit more prototyping, but I think there's eventually something workable here.
#
GWG
[Dan_Q]: I have had trouble with figuring it out also
#
GWG
I am working on some backend changes
#
GWG
I am separating out some code and expanding the endpoints
#
[Dan_Q]
I'm going to keep an eye out for upcoming Gutenberg-blocks-related work at my "day job" that I can volunteer myself for, so that I've got an excuse to learn it properly.
#
GWG
[Dan_Q]: I just like PHP
#
GWG
I am not as enthused about react
#
[Dan_Q]
Nor me. It feels somebody like all the worst bits of Javascript and squished them into a single file.
#
GWG
Simple Location or Syndication Links are probably the most likely to convert first
#
[Dan_Q]
IMHO, of course. I know many people love it.
#
GWG
[Dan_Q]: What features of Post Kinds most appeal?
#
GWG
I am trying to make some backend changes, want to keep the frontend in mind
#
[Dan_Q]
I just love being able to differentiate my different types of content in a meaningful way (while keeping them all fundamentally "posts") in a microformats-friendly way! I'm among the folks who care more about the backend, too.
#
[Dan_Q]
I've added three kinds Collection, Comic and Review to my copy.
#
[Dan_Q]
(and then I've written a snippet that I use when posting reviews to add the relevant "star rating" microformat)
#
GWG
I always considered the post post type to be h-entry
#
GWG
In the latest iteration of Post 9, I added a fields class to autogenerate new Post kind UIs based on a property array
#
[Dan_Q]
^ that's both a h-entry and a h-review, and includes a p-rating and a h-card (with name, address, lat and long) for the "thing" being reviewed ^
#
GWG
Post Kinds
#
GWG
I do love location aware posts
#
[Dan_Q]
Ooh, I like that! (autogenerated new UIs)
[carolgilabert] joined the channel
#
[Dan_Q]
Me too. Many of my posts are "checkins" used to represent geocaching finds or geohashing adventures.
#
GWG
Have you tried my location plugin?
#
[Dan_Q]
No, unfortunately the time I first heard about it I'd already come up with my own metadata schema for locations, and I haven't had the time or energy to think about migration!
#
GWG
It doesn't do geohashing specifically, but it does work for adding locations to a post
#
GWG
[Dan_Q]: I use the WordPress standard ones
#
GWG
geo_latitude, geo_longitude, geo_address
#
[Dan_Q]
Shows what I know: I didn't know there were standard ones!
#
GWG
I adddd in the html5 geolocation properties as well
[suze_shardlow1] joined the channel
#
GWG
I am overdue to upgrade though
#
GWG
There's a proposal to bring back storing structured location for querying
#
GWG
I have a lot of great backend projects held back by frontend concerns
#
GWG
I have to review doubleloop's PR and a bug opened on Simple Location
#
GWG
And maybe I may release an update to Post Kinds with the new parser.
#
GWG
I also have to decide if I am going to pursue the citation avenue further.
#
GWG
I wrote the code to split out the h-cite into it's own post type
#
GWG
Similar to an attachment or the old link table
[Anna_Dodson] joined the channel
#
GWG
[Dan_Q]: Responses to treating them this way is mixed
[snarfed], cal, sknebel, GWG, [dem_cx], [fluffy], [LewisCowles], IWSlackGateway, sebsel, [Cheuk_Cherrie], [jgmac1106], [KevinMarks], [aaronpk], gRegorLove and simons joined the channel