#wordpress 2020-12-18

2020-12-18 UTC
[KevinMarks], [schmarty] and yenly joined the channel
#
beko
I may have another issue with ParseThis and PostKinds. The new way Twitter content is recieved seems to add a blockquote tag and PostKinds adds another quote around this so I get my CSS for a quote twice.
#
GWG
beko: Will check
#
GWG
Likely it is because Twitter includes it, but will see what I can do
#
beko
fast way is probably to str replace any existing blockquote. Clean way is parsing the result as DOM and retrieve the nested elements. Either is a pain in the neck in PHP :(
#
beko
I don't feel particular happy that Twitter has any influence on the HTML at all btw but I know it's difficult to get the content at all
#
GWG
beko: I'm extracting the tweet from the oembed json.
#
GWG
It's the best I could do, as it no longer appears on the actual URL page in HTML. It's all done in JS
#
beko
iirc Medium does the same nowadays. It's a SPA o0 and still they want you to use their App [it's better for them]
#
GWG
So I'll just strip the blockquote.
#
beko
👍
[Ian_Forrester] joined the channel
#
beko
It does but it's probably better for -dev or main, no?
#
GWG
beko: Problem with video fixed
#
beko
GWG++
#
Loqi
GWG has 35 karma in this channel over the last year (150 in all channels)
#
GWG
Something was set to false instead of true
[KevinMarks] joined the channel
#
GWG
I'm going to look at a few more open issues then push a release
[tantek] joined the channel
#
GWG
Adding wp cli commands for use with IndieWeb plugins. Anyone have any ideas? It's on the list of issues
[chrisaldrich] joined the channel
#
beko
re-send mention for $url
#
beko
missing so many right now that I resend many manually :(
[Raphael_Luckom] and [snarfed] joined the channel
#
GWG
beko: You could try wp cron event schedule do_pings
#
GWG
But I'll see what I can do
[tantek], gRegorLove, [Ana_Rodrigues] and [chrisaldrich] joined the channel
#
[chrisaldrich]
GWG, I know the classic editor shows a metabox for "Send Trackbacks" that has an input box for sending trackbacks, and then it also has a display for showing urls for the post on which trackbacks were already sent and lists them. Is there a way to hook into that to show which URLs got sent webmentions (that succeeded) and use that same input box in the the UI for resending webmentions which may have failed?
#
[chrisaldrich]
Or if you can't hook into it, maybe there's a way to replicate that entire metabox to work specifically with webmentions as a separate thing?
#
GWG
[chrisaldrich]: We don't actually log that information.
#
GWG
We would need to start logging it
#
GWG
Which is doable.
#
[chrisaldrich]
Doing it would help to mitigate the potential questions people have of whether their system was actually sending them and if they were received (200 responses) and knowing if people were potentially moderating them. That seems to come up quite a bit and is likely to come up even more often with greater adoption.
#
[chrisaldrich]
looks like some of it is already in an issue at least: https://github.com/pfefferle/wordpress-webmention/issues/147
#
Loqi
[dshanske] #147 Revisit logging
#
GWG
Yes
#
GWG
Right now, I'm looking for a memory
[KevinMarks], [fluffy], [Rose], [jgmac1106], [Raphael_Luckom], [snarfed] and [tantek] joined the channel