#wordpress 2023-01-07

2023-01-07 UTC
[iambismark] joined the channel
#
[snarfed]
Hey GWG, is there any way to default a synd links provider to on (checked) for all posts?
#
[snarfed]
I tried adding a filter to syndication_link_checked that always returns true for the uid i want, but that didn't do anything
#
GWG
[snarfed]: After an issue some years ago where I imported my old Livejournal and autoposted it, I've been reluctant to add that without more controls.
#
GWG
But I'd love a comment on the issue
#
Loqi
[preview] [dshanske] #89 Syndicate Based on Other Parameters
#
GWG
If I could figure out what other conditions I can put on it...
#
[snarfed]
Understood. How can I do it with custom code, that filter, anything else?
#
[TMichelleMoore]
[snarfed] Is there any other way to obtain the Mastodon token for publishing using micropub through Brid.gy? Can I add an app on the Mastodon site in my account settings?
#
GWG
[snarfed]: Let me look...I know that I was working on it because of a Micropub option that we discussed at the last Micropub popup. It was a while ago
#
[TMichelleMoore]
@gwg I saw the option in the Syndications Links settings. It has worked for Github and Twitter perfectly!
#
GWG
[TMichelleMoore]: I set it up because I felt it would make sure that things worked without worrying about microformats, which many WordPress users aren't going to be able to do.
#
GWG
I've never tested the Mastodon option, but it's the same as the others, so it should work identically unless [snarfed] tells me I misread the doc
#
[snarfed]
[TMichelleMoore] you get your Bridgy micropub token from your Bridgy user page. Is that not working?
#
[TMichelleMoore]
@gwg I like it. I saw the other option for Mastodon of webmentions, but don’t think I can publish anything if I can’t successfully authenticate to Mastodon on Brid.gy. (My assumption may be totally incorrect.)
#
[TMichelleMoore]
[snarfed] That isn’t working…#502. I get the error from Mastodon.social.
#
[snarfed]
Oh right, the Mastodon auth bug, ugh
#
[snarfed]
I have another lead on fixing that. In the meantime, sure, I can DM it to you in a bit
#
[TMichelleMoore]
[snarfed] Thank you!!
#
GWG
Sorry, had a bit of a problem with my BiB. Going to look at the filter.
#
GWG
Will see about fixing the filter in the next release. I thought I tested it, but I didn't write a test for it.
#
[snarfed]
[TMichelleMoore] moving back here from DM...are "publish" and "published" wordpress terms?
#
[TMichelleMoore]
[snarfed] Nah..I just meant, when I hit the publish button in WordPress to when its published on Mastodon.
#
[snarfed]
ah. Bridgy's publish is synchronous, but Syndication Links defaults to running in the background, which in my experience can take a long time
#
[snarfed]
GWG knows better though
#
[snarfed]
you can turn off that background part in the Synd Links settings, Providers tab
#
GWG
[snarfed]: Mine refreshes in about 10 seconds, to be honest.
#
[snarfed]
ah nice! GWG++ that log is great
#
GWG
[snarfed]: I added the setting in the last update, along with the log box, for better troubleshooting.
#
GWG
Although sometimes with the non-background setting, for some reason, it blanks out the links.
#
GWG
I need to figure out what is overwriting it
RasAlGhoul, jsbach, RasAlGhoul_, angelo, RasAlGhoul__, [James_Van_Dyne] and [pfefferle] joined the channel
#
[pfefferle]
[dshanske] FYI: I added some comments to the db migration PR
antranigv joined the channel
#
starrwulfe[m]
GWG: I still need to pull my logs for you to troubleshoot my issue— I’ve got another one where where the dateline link that should show the individual post is instead showing activitystream formatted output.
jsbach, RasAlGhoul__ and angelo joined the channel
#
[pfefferle]
GWG I just tried to test your PR request for comment representation
#
[pfefferle]
I see no grouping at all
#
[pfefferle]
can you tell me what I have to do?
#
GWG
[pfefferle]: I just added a review. There are still two questions I documented
#
GWG
[pfefferle]: What data is in the site you are using?
#
GWG
I know I tested it when I wrote it and I was getting the new display. It essentially unhooks the comment template, then hooks a new template in, then that template after it is done loads the comment template that would have loaded anyway. So, it should work better than our previous implementation
#
GWG
Hi.
#
GWG
I'll recheck the code, as it has been months, but it was working when I wrote it.
#
[pfefferle]
so we have to migrate the comment meta semantic_linkback_author_url to author_url in comment?
#
GWG
[pfefferle]: Yes, the way we set it up in the parsing code, yes.
#
[pfefferle]
and I can ignore canonical url completely?
#
GWG
[pfefferle]: That goes into just url in the code.
#
GWG
We need it to cover things like Brid.gy, I believe
#
GWG
Where the source url and canonical URL aren't the same.
#
[pfefferle]
added the changes
#
[pfefferle]
do we have to re-add canonical?
#
[pfefferle]
found some more issues regarding avatars
#
[pfefferle]
we added avatar support to the webmention type... now we have several types...
#
GWG
[pfefferle]: URL would be canonical, vs source_url which isn't.
#
[pfefferle]
will add a PR for that
#
GWG
[pfefferle]: Okay.
#
GWG
Tell me what I need to check
#
[pfefferle]
but still see no effect for the output
#
GWG
I'll have to recheck
#
GWG
[pfefferle]: Also congratulations on your recent fame.
#
[pfefferle]
added some changes to the frontend PR
#
GWG
[pfefferle]: I saw you appeared on another podcast
#
[pfefferle]
ah, I see
#
[pfefferle]
yes, the activitypub hype
#
[pfefferle]
[dshanske] what theme have you used to check the comment output?
#
GWG
[pfefferle]: I was using mine, the IW26 one.
#
GWG
I should check multiple ones.
#
GWG
And there was that plugin interaction with Jetpack we had at one point
#
Loqi
agreed.
#
[pfefferle]
shit! it seems to crash on FSE themes
#
GWG
[pfefferle]: Sorry, I never tested on them
#
[pfefferle]
I hate FSE!!!!
#
GWG
[pfefferle]: It's frustrating
#
[pfefferle]
nothing works like before!!!
#
GWG
Might have to approach classic vs block themes differently
#
[pfefferle]
should we file an issue for that?
#
GWG
[pfefferle]: Yes, is there an interim fix? To be honest, the old way probably isn't working on block themes either
#
[pfefferle]
ok, let's stick with that and maybe find someone who can help us with blocks
#
[pfefferle]
but the output is still a bit hacky
#
GWG
I'm sure there's a..is this a block theme check we can use
#
[pfefferle]
shouldn't we try to group them?
#
GWG
[pfefferle]: I think it's unavoidable
#
GWG
Group which?
#
GWG
I'm willing to push some things to a 5.1 because I think it won't be as long in the future as this version vs the last
#
[pfefferle]
I added some changes
#
[pfefferle]
maybe you can have a look
#
[pfefferle]
I do not like that the mentions are above the comments
#
[pfefferle]
[dshanske] what is a nice name for the plural version of the comment-type label?
#
[pfefferle]
group_label?
#
[pfefferle]
[dshanske] and should we rename "handler" to "parser"???
#
[pfefferle]
[dshanske] there is a 'singular' field and a 'label'
#
[pfefferle]
currently only label is used
#
[pfefferle]
thanks 🙂
RasAlGhoul joined the channel
#
GWG
It isn't a parser exactly
#
[pfefferle]
Is handler fine?
#
[pfefferle]
Just asking… you are the native speaker ☺
angelo joined the channel
#
GWG
[pfefferle]: Yes, it is.
#
GWG
Sorry for the delay..got caught away. Have a flight in 4 hours home
#
GWG
But we may need singular in future
#
GWG
For different presentations
#
GWG
I always wanted to make it possible for others to design a different way of showing Webmentions without too much trouble
gRegor joined the channel
#
[pfefferle]
Had made a lot of changes, also to simplify code and to remove redundancy
#
[pfefferle]
Let me know what you think
[fluffy] joined the channel
#
GWG
[pfefferle]: Looks good so far
#
GWG
I think we're getting closer.
#
[pfefferle]
But what about the author link thing?
#
GWG
And anything but these two issues can be pushed to a 5.1. Which, as I said, I think will be much faster than it took us to get to 5.0
#
GWG
[pfefferle]: I still think we put author url into the comment data where it belongs instead of overloading it as pingback does for source url
#
GWG
If you look at the code, it initially sets it to source then overwrites it after parsing
#
starrwulfe[m]
Spent some time trying to find out what the problem was with my site’s critical error issues after every post from the backend editor; wound up white screen of death on the whole thing… ugh.
#
starrwulfe[m]
I’m gonna tear the whole thing down and spin up a DO droplet.
#
starrwulfe[m]
What’s your recommendation for setup guys?
#
starrwulfe[m]
(Database is still intact of course but just a bunch of test posts so not a big deal)
#
GWG
I still would like the error message?
#
starrwulfe[m]
I don’t know GWG — I never could get it!
#
starrwulfe[m]
I’ll do back in and see if I can salvage something after dinner
#
GWG
I'd say disable all plugins, and bring them up one by one to see if one of them is responsible then
#
starrwulfe[m]
Did that. No plugins at all and only twenty twenty one for a theme.
#
starrwulfe[m]
It’s on managed hosting so I suspect there’s some shenanigans with caching
#
starrwulfe[m]
Should’ve just did a DO droplet and been done with it but it was free for me to do this so ¯_(ツ)_/¯