#wordpress 2018-10-07

2018-10-07 UTC
BBNZ, [jgmac1106], tantek__, [kevinmarks], [Rose], jgmac1106, [tmiller] and [schmarty] joined the channel
#
GWG
I see pfefferle is pubsubhubbubing today
[TimApple] and miklb joined the channel
#
miklb
GWG I don't recall where the discussion was, but I just pulled down the latest post-kinds and micropub and doing a reply in micropub to Twitter URl still fails to register as a reply in the template and/or with Bridgy.
#
GWG
I have been focusing on the Post Kind fixes and trying to get some testing on the auth issue
#
GWG
So, I am finishing media fixes.
#
GWG
So, when you mean register..as in Post Kinds doesn't say it is a reply?
#
miklb
no, in post kinds it shows in the UI it is a reply. But Bridgy doesn't get passed the reply context so it just a note
#
GWG
I am trying to remember the details as I want to try to fix it
#
GWG
Okay. I need to figure out why. I will try using my test Bridgy account
#
miklb
that's what Bridgy is getting. Quill, reply to a Tweet URL posts to WP, the UI shows it is a reply and in the properties box it has the reply-to url.
#
miklb
so it is a firing order issue I assume.
#
miklb
the post-kinds properties are pulled and stored after it gets sent to bridgy it seems like
#
miklb
I just don't know if we figured out if it's a micropub or post-kinds issue
#
sknebel
... there is something very odd going on there
#
sknebel
do you have any caching plugins running?
#
GWG
It gets pulled immediately and then enhanced
#
sknebel
right now, running it through hosted parsers shows different results than downloading it to my PC and running it through a local one
#
sknebel
despite running the same version of the same parser
#
sknebel
and if I put it in the bridgy preview box, it finds the reply
#
miklb
I do run caching, but this wasn't an issue previously with same caching mechanisms.
#
miklb
no plugins for caching, just nginx static cache and google pagespeed module
#
miklb
and Redis for object caching
#
GWG
Well, I have a few things I can do, but I think bringing back the delay in Syndication might help. I got talked into removing it
#
miklb
anyway, I couldn't remember where in GitHub that discussion was happening and had some time to update and test. No rush on my account.
#
GWG
First is get to a new Post Kinds release.
#
GWG
I intend to have future ones
#
GWG
But that will fix a lot of Issues
#
miklb
I'll keep an eye on the repos.
#
miklb
I'm on master at the moment
#
GWG
Yes, the latest fixes move media storage into the attachment post
#
GWG
That's because I was nesting a citation inside the photo property and no one does that
#
GWG
So, parsers had issues
#
miklb
I didn't test micropub photo. I'll try that again.
#
GWG
I have a new gallery function
#
sknebel
okay, if I request the content from python I do not get any reply context
#
miklb
something funky in the templates too. I need to look at what changes I had made in my fork for replykind template.
#
miklb
but reality is I'll probably just put my efforts into the move. I'll keep testing as it won't be be an immediate action.
#
sknebel
wait, now the reply-context is gone from my browser too?!
#
miklb
yeah, I'm not seeing it in the source
#
sknebel
I did initially
#
miklb
weird
#
sknebel
indeed
#
sknebel
I suspect caching plays a role somewhere
#
sknebel
but no clear evidence
#
miklb
possibly, but as I stated, this all used to work. Only since changes in micropub 2.0/master.
#
miklb
I did have some modifications in my template, but all the more why using defaults and it not working is even weirder
#
miklb
but a micropub reply doesn't seem like an esoteric fringe use case.
#
miklb
*syndicated reply
#
GWG
No, I just think the auth issue is bigger
#
miklb
not disagreeing
#
miklb
I'm only able to reproduce an error with Omnibear in FF. Quill & Indigenious work fine.
#
GWG
I will continue pressing forward
#
GWG
I just wish I wasn't completely stumped on the auth issue
#
miklb
my issue with Omnibear pre-dates micropub 2.0 which is why I was less concerned with it, but not sure how to help.
#
GWG
I am excited about the Post Kinds changes
#
GWG
But Gutenberg fills me with dread about any UI improvements
#
sknebel
one thing I noticed in the html is that the entire <section> from https://github.com/dshanske/indieweb-post-kinds/blob/master/views/kind.php is missing, not just things nested into it
#
GWG
Wonder why.
#
sknebel
but the <article> has "kind-reply"
#
GWG
I think it's because the post is created before the kind is set
#
GWG
I could have it do post type discovery if no kind is set
#
GWG
But a publishing delay of 5 seconds would solve it
#
sknebel
so the post is created, and then bridgy runs before the kind is set and the details loaded?
#
miklb
that's my assumption
#
miklb
seems maybe moving the syndicate-to function in micropub might also be worth looking at
#
miklb
because post-kinds is just one thing that might modify the post content
#
GWG
I will have a look
#
GWG
It should go after after_micropub
#
miklb
should as that's how it's designed now or it should be moved?
#
GWG
It should be moved to after, probably
#
GWG
Although the term after_micropub implies the end
#
GWG
I can do the PR today
#
miklb
I'll try and idle and keep an eye on GitHub and test it when it's ready.
#
GWG
Okay.
#
GWG
Just remembered a different problem
#
GWG
Bridgy was never modified to use the hook because it predates it
#
GWG
It uses the publish hook
#
GWG
Bigger challenge
#
GWG
If I get the Post Kinds update finished
#
GWG
And the auth issue
#
GWG
I want to return to Syndication Links, although my POSSE interest has waned of late due the platforms
[jon] and [eddie] joined the channel
#
GWG
I want to be in better places
[jgmac1106] and tantek__ joined the channel
#
GWG
I need to wrap my mind around this Indieauth issue
#
GWG
Anyone around to idea bounce?
#
GWG
It is the www issue
miklb joined the channel
#
GWG
miklb, do you have any thoughts on how to map url to user id in WordPress? It seems that using the user profile url is just too fragile.
#
GWG
I may have to always map to the author post url
#
miklb
I don't.
#
GWG
Hard problem
[asuh] joined the channel
#
[asuh]
Can Indieauth use WP JSON name to use preferred version of hostname in token or endpoint?