#wordpress 2018-07-17

2018-07-17 UTC
#
dougbeal
snarfed: should the facebook logic in indieweb press this go away?
#
dougbeal
snarfed: I guess it could be useful for manual POSSE
#
snarfed
the embed is still useful, regardless of whether you posse the reply (etc) to fb or not
#
snarfed
but the bridgy publish link, ye
#
dougbeal
Maybe I should use the repo as a tag rather than putting in issue title
tantek__, [dougbeal], tantek, snarfed and [miklb] joined the channel
#
[miklb]
hmm, so `$mf2_post->get('photo')` returns an array with duplicate arrays of the photo url
#
[miklb]
oh, wait, I have duplicate rows for mf2_photo in my local db.
tantek joined the channel
#
[miklb]
probably a sign to purge my local db and re-import.
#
GWG
[miklb]: I should have better file uploads for Micropub soon
[jgmac1106] joined the channel
#
[jgmac1106]
Man, for some reason I got cut off from syndication. Need to figure out if I got flagged as bot
#
[miklb]
I saw you have been discussing media endpoint
#
GWG
miklb, I am also going to match that with improvements to the non media endpoint code
tantek joined the channel
#
[miklb]
new syndicate function? Is that the new stuff you were working on?
#
GWG
miklb, it's a refactltkng, so yes
#
GWG
refactoring
[chrisaldrich], [kevinmarks], [jgmac1106], 92AADJRGD, jgmac1106, tantek, snarfed, [eddie], jackjamieson, tantek__, [cleverdevil], [snarfed] and [Vanessa] joined the channel
#
dougbeal
GWG: so would you recommend running micropub/master and the media enpoint yet?
jgmac1106, [grantcodes] and [tantek] joined the channel
#
jgmac1106
Hope I am not being too forward with the WordPress folks but when I see them talking about an indieweb toggle for WordPress.com…that is the holy grail
[kim_landwehr], [kevinmarks], [Vanessa] and jgmac1106 joined the channel
#
[Vanessa]
Grrr 401 messages, grrr.
#
jgmac1106
[vanessa] when trying to indieauth to a micropub client?
[cleverdevil], [miklb] and [snarfed] joined the channel
#
[Vanessa]
[jgmac1106] Yup, what else! Indiebookclub. I did get Quill to post to my blog a while back. Mind you, last time I tried Indiebookclub WP seemed to generate two tokens for it - one from a previous login and one from the latest one. This time the existing token still shows in my admin panel, as though it now recognises there is one. Not sure if I should revoke that and start again, but I’ve done that before with no luck. Possibly no
#
[Vanessa]
plugin update.
#
gRegorLove
GWG: Is there anything I can do to help debug?
#
gRegorLove
[Vanessa]: Sorry for the difficulties. I think you can revoke them both safely and try again. Each time you login it should generate a token, and when you explicitly sign out, ibc revokes the token.
#
gRegorLove
So I think if you just closed the browser instead of clicking sign out (which is fine), WP would show the token still.
#
gRegorLove
But I don't think the 401 error is about the token itself, unfortunately.
#
jgmac1106
[gRegorLove] I was just checking my authorization, It did work, but I am not sure the post published back to my site, can’t find it anywhere, any ideas on how to check?
#
jgmac1106
see you built in documentation, reading that first
#
jgmac1106
[vanessa] same point but I got signed in just failed on micropub: HTTP/1.1 401 Unauthorized
#
jgmac1106
but it is getting better and [gwg] been doing some big work on this
#
[Vanessa]
Yeah, same again, signed out, revoked token. Signed in, token showing in admin panel, but post went to profile on Indiebookclub, nothing on blog and 401 unauthorised error showing in settings. HTTP/1.1 401 Unauthorized
#
[Vanessa]
Date: Tue, 17 Jul 2018 20:41:23 GMT
#
[Vanessa]
Server: Apache
#
gRegorLove
Yeah, I think something's up with the Micropub WP plugin. I know GWG's been working on it. I don't use it myself so I don't have many ideas unfortunately.
#
jgmac1106
[vanessa] post your read posts to your site and then if you want you can publish again on indieweb.xyz, just remember even Amazon couldn’t keep the lights on on their biggest day of the year and this is all happening with 2-3 people and not 20,000 to 30,000. We will get there
#
gRegorLove
She's trying to post them to her site :) Getting 401 errors.
jackjamieson joined the channel
#
[Vanessa]
I thought I’d been told it was the Micropub plugin, but then maybe that it was indieauth, so I tried again. I’ll just post them manually to my site - and will use the easy standardised Indiebookclub once it all hangs together properly. I can wait. I’ve got a menu for “Reading” now where Read post types go to. (Quite pleased I managed to set that up - baby steps). I’ve also excluded those post types from my RSS feed as wel
#
[Vanessa]
that - beyond my skillz. The Indiebookclub gave me the idea for the site tweaks, so it’s all been progress and some more things learned. Happy with that!
jgmac1106 and [chrisaldrich] joined the channel
#
[chrisaldrich]
[Vanessa]++ for progress and learning
#
Loqi
vanessa has 3 karma in this channel (5 overall)
#
[Vanessa]
Aww, thank you 🙂
[miklb] joined the channel
#
[miklb]
yes, the micropub plugin is going through a complete re-write.
jgmac1106 joined the channel
#
GWG
It is both plugins
#
GWG
The error message comes from the Micropub plugin, but it doesn't surface errors from the IndieAuth plugin
[manton], jgmac1106 and [jgmac1106] joined the channel
#
dougbeal
Could this be a HTTP_AUTHORIZATION being stripped from the headers issue?
[cleverdevil] joined the channel
#
GWG
Yes, or not. Need better messages
#
dougbeal
Is it something that could be added to a .rocks test, so it could be easily diagnosied? And if so, where would it go?
#
aaronpk
if you're having this problem you should already be failing any micropub.rocks test
#
GWG
aaronpk, not everyone has this problem
#
aaronpk
right but i'm saying if you do have the problem the you will also fail micropub.rocks, so there isn't any new information able to be gained there
#
GWG
I am rewriting the Micropub code that controls it regardless
#
GWG
And iterating the IndieAuth code in both plugins