#wordpress 2022-10-13

2022-10-13 UTC
RasAlGhoul_, jacky, fef, jsbach, [jeremycherfas], wagle, reed, underpantsgnome[, AramZ-S[m], [KevinMarks], neceve, [dshanske] and GWG joined the channel
#
[snarfed]
hey GWG I tried to use Syndication Links to POSSE a post to Twitter via Bridgy Publish just now. I had the "Syndicate to: Twitter via Bridgy" checkbox checked, and my Bridgy Twitter account has Publish enabled, but nothing happened.
#
[snarfed]
I don't have WP_DEBUG_LOG on my prod site, so no debug logs. any ideas how else I could debug?
#
GWG
[snarfed]: I am thinking of switching from Webmentions to your new Micropub endpoint for that
#
GWG
The Webmention method keeps getting caught in site caching
#
GWG
The method of waiting and cache busting is tricky
#
GWG
And people want instant acknowledgement
#
[snarfed]
Hmm, maybe
#
[snarfed]
I don't see a POST to brid.gy/publish/webmention for this at all though
#
GWG
[snarfed]: It is triggered by cron a short time later. When I took the cron out, it worked but it read the Microformats while things were still processing
#
GWG
I think 60 seconds
#
GWG
[snarfed]: If this "Comedy equals tragedy plus blockchain, that shows links.
#
GWG
Although it seems to have the webmention link in there for verification
#
[snarfed]
yeah that was the one, I waited 15m and then gave up and possed it (and added the synd links) manually
#
GWG
I need to do some testing with Micropub. Though, I have to double check which things take a few moments after publishing to appear and see if that's a problem
#
[snarfed]
oh interesting yeah the brid.gy/twitter/publish link is there. I guess the cron to POST to bridgy evidently never ran
#
GWG
[snarfed]: It may have, but if you manually added the Tweet, Bridgy would have rejected it, which leaves the link there, which is a bad experience
#
[snarfed]
sure, but I didn't do that until 15m later. if it regularly takes >15m, that's not great UX either
#
[snarfed]
aha, it did finally send. post got published at 12:30p (PT), POST happened at 12:49p
#
[snarfed]
btw GWG Micropub would still have this long cron delay, right? ie it would only maybe help caching issues, not the bad delay UX
#
GWG
[snarfed]: I hate WP Cron..very unreliable
#
GWG
But it means that I could add a setting for people who aren't running stuff on posts they need to wait for
#
[snarfed]
remind me, the reason you do it in cron is latency? you don't want to add the 1-2s Bridgy Publish POST delay to publishing the WP post?
#
[snarfed]
or is it caching difficulties?
[benatwork] joined the channel
#
GWG
[snarfed]: Because most items are saved to metadata on save or publish post...so that creates a problem if you also publish at that point.
#
[snarfed]
there's no hook or other way to send the Bridgy webmention after those items are saved, and still in the same request?
#
GWG
Possibly if I set the priority to the highest number possible, also there is a new hook
#
GWG
Webmentions have this same problem
#
GWG
I wish I had a better solution... but I want to revisit the problem again
[fluffy], sebbu2 and neceve joined the channel