#wordpress 2018-08-21

2018-08-21 UTC
#
Loqi
[Takashi Irie] Come Sail Away with Me
#
[pfefferle]
But still the problem with the mf2 properties we add via plugins
#
tantek
sure, hopefully we can minimize those
[iambismark] joined the channel
#
davidmead
If I disable “Allow people to post comments on new articles” in WP, will that stop webmentions too?
#
[pfefferle]
No, I don’t think so... only if you disable pings
#
davidmead
thx pferrerle - i’ll give it a go
[chrisaldrich] joined the channel
#
miklb
sb/ goto -100
#
miklb
[pfefferle]: can you document in a separate issue the hfeed that you mentioned? I'm not sure which template you mean is hardcoded.
#
miklb
because I'm only seeing a single hfeed/h-feed on my home page.
#
miklb
on the body class.
#
miklb
and none on single post
#
miklb
and h-entry/hentry on the body class of the single post.
#
davidmead
pferrerle - unchecking that box in WP seemed to have stopped Twitter replies via Bridgy being posted. Looks like it disabled the whole comment block :-(
acegiak joined the channel
#
miklb
reply webmentions become native comments
#
miklb
so they aren't really a webmention under the hood, thus they get blocked.
#
davidmead
pferrerle - seems reply from twitter shows, but not the like or retweet
#
davidmead
miklb - strange things happen when i turn things on/off in WP ;-)
#
miklb
just wanted to clarify how they get stored in the db I don't know where exactly in the pipeline they would or wouldn't be blocked.
#
davidmead
thx. i’ve turned the “Allow people to post comments on new articles” back on until i can play around more
[manton], [tantek] and [eddie] joined the channel
#
miklb
is there mf2 for personal pronouns?
#
aaronpk
There's a whole lot of discussion about that for sure
#
aaronpk
What is a pronoun?
#
Loqi
A pronoun is a word that people often use to refer to other people or objects instead of their names; on the indieweb you can express which pronouns should be used to refer to you https://indieweb.org/Pronoun
#
miklb
thank you
miklb_ joined the channel
#
miklb_
had to go back to Textual
tantek__ and [pfefferle] joined the channel
#
[pfefferle]
Miklb the official/automattic themes seems to have fixed it, but historically, it was hardcoded in the HTML an still is on most of the plugins I tested https://github.com/mattbanks/WordPress-Starter-Theme/blob/master/header.php#L21
#
[pfefferle]
hfeed is still not part of Core, but the wordpress.org community seemed to have understood the problem after [dshanske] reported it several times
j12t_, [kevinmarks] and christophegx joined the channel
#
christophegx
| .-' '-.
#
christophegx
| _..._
#
christophegx
| / _ _\
r0bby6 joined the channel
#
r0bby6
| INRI |
#
r0bby6
| LOL |
#
r0bby6
.======.
#
r0bby6
| |
#
Loqi
That looks like spam, bye!
#
Loqi
That looks like spam, bye!
#
Loqi
That looks like spam, bye!
#
Loqi
That looks like spam, bye!
#
GWG
Morning
#
Loqi
*yawn* ... /stretch/
[Khurt], [jgmac1106], bradenslen and Guest5292 joined the channel
#
Guest5292
'. ______________ '.
#
Guest5292
___________________
#
miklb_
pfefferle I don't follow. I am going by the release of 2016 that you can download from wp.org and the mf2 plugin right now. I am only looking at current state of affairs, not what used to be.
[jgmac1106] and [pfefferle] joined the channel
#
[pfefferle]
but, 2016 works perfect without the mf2 plugin, so perhaps not the best to start testing?!?
#
miklb_
works perfect?
#
miklb_
how in the world does it "work perfect". What is your definition of perfect?
[tantek] joined the channel
#
miklb_
that really seems to be the core issue. There is no benchmark for what "works" and what isn't "broken"
#
miklb_
All I know is switched to 2016, people started pointing out things like missing u-url and issues with h-card. Since then it's been pointed out the publish date is missing.
jgmac1106 joined the channel
#
Loqi
[Takashi Irie] Come Sail Away with Me
#
miklb_
I mean, if it worked perfect, why weren't we recommending people use it to start with?
#
[pfefferle]
only if you use the mf2 plugin
#
[pfefferle]
without it, the backcompat is working pretty fine
#
miklb_
see, you have a completely different vision of "working pretty fine" than say aaronpk did
#
[tantek]
Miklb’s points are valid. The backcompat of 2016 is still missing key things especially on the home page / stream / h-feed
#
[pfefferle]
but what is missing here?
#
[tantek]
And I’d say missing URL and date from posts on the home page is not “fine”
#
[pfefferle]
it is not missing
#
[pfefferle]
please check the link
#
miklb_
so mf1 is good in 2016. Don't bother with mf2. Got it. Glad you are here
#
miklb_
you opposition to me working on mf2 is starting to feel personal
#
miklb_
I asked a question about something you posted in IRC and in a GH issue about 3 hfeed/h-feed because I'm not seeing it on my site. And now this.
#
[pfefferle]
yes, but this is an issue we are raising with the uf2 plugin
#
[pfefferle]
and that is my point… the uf2 plugin does not work in my opinion
#
miklb_
yeah, but it is invalid right now. You keep pointing to historical conversations and code. I don't get it.
#
miklb_
so don't use it and don't worry about me working on it. It's pretty simple. I'll refrain from asking you questions or your opinion.
#
miklb_
build the mf2 feed plugin, hope that all the parsers around pick it up. It's cool.
[Khurt] joined the channel
#
miklb_
I started this fully aware it may fail. I may not unkink the issues between core and mf2 plugin. I may get resistance again from WP Core. But I want to know definitely what that issue is, because I have yet to see anyone articulate the problem in the current state of affairs.
[eddie] joined the channel
#
[pfefferle]
ok, understood…
#
miklb_
"core" is not a boogey man IMO
#
miklb_
and once again, i say this not to discredit all of the work you have done for the WordPress IW ecosystem. I wouldn't be doing what I'm doing without your work.
#
[pfefferle]
understood
#
GWG
pfefferle, there have been concerns expressed about your deployment method
#
[pfefferle]
I also thought about copying the script to a local directory or to fork it to the indieweb repo and use this… good point
#
GWG
Yes, it is.
#
GWG
I wanted to wait for your comments as you found this method
#
[pfefferle]
we should fix it for the other repos too
#
GWG
Yes.
#
[pfefferle]
and we could also fix the typo
#
GWG
Typo?
#
[pfefferle]
WP_PULUGIN_DEPLOY
#
GWG
Yes
#
miklb_
aaronpk what should I have for published date to show up?
#
miklb_
is anticipating another data element
#
aaronpk
let's see
#
aaronpk
so you already have a <time> element with the datetime attribute
#
aaronpk
so if you can add the dt-published class there that's the smallest change required
#
aaronpk
if that's not possible, you can cheat and add a hidden <data> or <time> element elsewhere
#
miklb_
cool. thanks. I'm not sure I'll be able to edit the class on the time element, but let me see
#
miklb_
yeah, that's all in a custom theme function so no global way to override without adding a new element.
[eddie] joined the channel
#
miklb_
hmm. I added dt-published with a new time element but not sure that it's parsing correctly
#
aaronpk
Should be like <time class="dt-published" datetime="2018-08-20T08:00-0700"></time>
#
miklb_
ah. thanks
#
miklb_
that did it
gRegorLove joined the channel
#
miklb_
I was using value and not datetime. Looking at the data element not the element I was adding
aaron7 joined the channel
#
aaronpk
ah yea
#
miklb_
that honestly doesn't feel too kludgy to get the result needed
#
miklb_
lol yeah, I'm just trying to be optimistic
#
aaronpk
at the point that it takes adding hidden elements, that's already breaking the ideals of microformats, so seems cleaner to just go all-in on mf2 json
#
miklb_
interesting
#
miklb_
so you feel mf2 json would be widely adopted in consumers?
#
aaronpk
not sure yet, but if it meant that wordpress sites would easily and reliably serve mf2 json, that's pretty compelling
#
miklb_
mind you, this plugin still wouldn't be meant as a complete replacement for a theme properly marked up, rather a chance for users to get started now without a lot of friction. But I understand your point.
percY-16 joined the channel
#
percY-16
| _........._
#
aaronpk
emphasis on reliably though, it would have to work out of the box by just installing the plugin
#
miklb_
and at least knowing what the limitations are now, we can better document what a theme needs to do to be compliant.
#
miklb_
unless the all in mf-json is the path and I'm just burying my head in the sand
#
aaronpk
yeah I don't know. i suspect it's worth trying both in parallel to see which one ends up making progress faster
[pfefferle] joined the channel
#
[pfefferle]
perhaps a CLI that parses the source-code of themes and adds the mf2 classes based on the place of the mf1 classes… with notices if something couldn’t be added… so that developers might have a simple start
Liara- joined the channel
#
Liara-
| .-' '-.
#
miklb_
yes, I've been mentioning some kind of validator, but there doesn't seem to be a consensus as to what that should be.
#
miklb_
I'm not convinced one data element and and an additional time element though is that far off of the spirit considering the circumstances.
jackjamieson joined the channel
#
miklb_
I've done far more egregious things in WP for far less benefit :-D
[schmarty] joined the channel
#
miklb_
GWG you mentioned that bridgy publish fix was quick. If you point me in the right direction, I'll send a PR
gmax, [iambismark] and jackjamieson joined the channel
#
GWG
[pfefferle] If I built an image cache to be shared between multiple plugins, should it be a plugin of it's own?
#
GWG
Same question for anyone else with a thought
#
GWG
I am thinking if installed, it would do this for other plugins
[jgmac1106], [kevinmarks], [grantcodes] and Guest5529 joined the channel
#
Guest5529
))))))))(__/~;;\
[pfefferle] joined the channel
#
[pfefferle]
What about the plugin you mentioned some weeks/months ago?
#
miklb_
image cache?
#
miklb_
oh, for profile images. I'd love a way to offload those to my S3 bucket
[schmarty], [cleverdevil], [kevinmarks] and [grantcodes] joined the channel
#
GWG
Maybe I will write it
[pfefferle] joined the channel
#
GWG
The other plugin does cache avatars
#
GWG
Bear in mind, I have so many things I want to do
#
GWG
I have been talking about that one for 4 years
#
miklb_
found the bridgy publish function I need to alter
#
GWG
Too much to do, too little time
#
miklb_
I'm learning to prioritize my goals as I was feeling that way a few months ago
jackjamieson joined the channel
#
GWG
snarfed wants more user reports on Micropub
#
GWG
miklb, did ww fix your issues?
#
GWG
You had a report, right?
#
miklb_
I can't get master working. I'm on 1.4.x
#
miklb_
I haven't tested today
#
GWG
we, excuse me. 3:30am
#
miklb_
master IndieAuth works with 1.4.x but not master micropub
#
miklb_
I get the 401 error attempting to auth with Quill in the debug log
#
GWG
Can you try again, the new version added new debug log entries to try to track it.
#
GWG
Hoping to get more clues
#
miklb_
sure, I'll switch over and log out of everything and test
#
GWG
The extra debug logs for IndieAuth aren't in because pfefferle and I disagree on setting WP_DEBUG_LOG
#
GWG
I don't usually set it for my sites
jeremycherfas joined the channel
#
miklb_
is there an issue I can read the two arguments on?
#
Loqi
[dshanske] #106 Error
ome joined the channel
#
ome
/\
#
ome
/ \;
#
ome
/ \
#
GWG
It's not a big deal
#
miklb_
latest master of micropub I still get `[21-Aug-2018 19:37:30 UTC] Micropub Error: 401 unauthorized - missing access token`
#
GWG
That helps
Kaja joined the channel
#
miklb_
switching back to 1.4.3 I am able to authenticate with no issue
#
miklb_
that's the same error that Indigenous was throwing in my original report in the 2.0 thread so it's consistent
#
GWG
So, I wonder what is causing it not to find the token
#
GWG
IndieAuth plugin on or off?
#
miklb_
master of IndieAuth for both
#
GWG
I want to track this down
#
miklb_
All I'm doing is get checkout master in the micropub repo, then git checkout 1.4.3 nothing else changes
#
GWG
I need to compare the header retrieval in both.
#
GWG
They both use the same function
wagle and miklb_ joined the channel
miklb_ joined the channel
#
sknebel
sigh, overeager Loqi?
#
miklb_
heh. getting my IRC sea legs after using Slack and I'm not even sure what's happened
#
sknebel
did you say anything before the dot?
#
miklb_
I wasn't sure if I was connected so I hadn't
#
sknebel
Loqi is really agressive right now due to spam, so it sometimes triggers on normal users it seems
#
miklb_
just saw a disconnected message and tried to re-connect
[manton] joined the channel
#
@agiletortoise
I remember when XML-RPC seemed magical. It does not seem magical anymore.
(twitter.com/_/status/1031992262056730624)
j12t joined the channel
#
miklb_
I have xmlrpc blocked on my WP install and forgot about it until I wanted to test the WordPress iOS app which I guess still uses it because it couldn't log into my site.
jackjamieson and globbot joined the channel
#
miklb_
GWG I'm wrapping that first part of the wp_footer function in bridgy publish in an if_single. Does that seem right?
acegiak and [cleverdevil] joined the channel
#
miklb_
seems to have worked
[pfefferle] joined the channel
#
[pfefferle]
GWG this was only a feedback… you already have my +1
jackjamieson joined the channel
#
GWG
miklb, yes
#
GWG
pfefferle, thanks
#
GWG
Work over
#
GWG
It's 5am
#
miklb_
where is GWG
#
[pfefferle]
I often give feedback, but also approve the merge request
#
GWG
Bonafacio Global City, Tagiug
#
GWG
pfefferle, I usually agree though
jackjamieson joined the channel
#
GWG
I just passed the Mind Museum
#
[pfefferle]
The what?
#
GWG
miklb_: I'm looking at your problem
#
GWG
[pfefferle]: It's 5:27AM, they are closed
#
GWG
But if you have IndieAuth installed, that file is never loaded
#
GWG
That line does not appear in the IndieAuth plugin version of same
#
GWG
if ( MICROPUB_LOCAL_AUTH || ! class_exists( 'IndieAuth_Plugin' ) ) { is the conditional
#
GWG
Do you have MICROPUB_LOCAL_AUTH in your wp-config.php?
#
GWG
miklb_: Just to test, either way, what happens if you comment out loading that file? As it shouldn't be loading.
[kevinmarks], [Khurt] and [tantek] joined the channel
#
[tantek]
reads scroll back 😂
#
[tantek]
miklb, re "want to know definitely what that issue is, because I have yet to see anyone articulate the problem in the current state of affairs." Agreed and I want to help with this however I can. I think what you're diving into is worthy of articulating / documenting
#
[tantek]
miklb++
#
Loqi
miklb has 21 karma in this channel over the last year (37 in all channels)
[eddie] and [iambismark] joined the channel
#
aaronpk
haha sorry miklb_
#
aaronpk
saying only punctuation right after joining is right now the #1 spam
#
aaronpk
[Khurt]: perfect thanks for that screenshot! "Bearer Token Not Supplied" is what I was looking for. Looks like for some reason your WordPress site isn't seeing the access token, probably the same problem that trips up everyone on wordpress with the web server not allowing the Authorization header
#
GWG
aaronpk, both plugins are now showing debug errors if set
#
GWG
Although miklb has a strange problem
#
miklb_
GWG I'll check my wp-config, but I shouldn't have that on my live server.
#
GWG
If you could also try commenting it out
#
miklb_
[tantek] if you could look at the h-feed now on miklb.com and make any more recommendations, that would be helpful. I know there was a mention with the nesting in the addr of the h-card on the h-feed, but I'm not sure what else that would be considered required is missing
#
miklb_
GWG which file do I comment that out on?
#
GWG
Micropub.php
#
GWG
Don't load authorize
#
miklb_
commenting that out worked
#
miklb_
I was able to auth and post with Quill
#
GWG
Odd
#
GWG
So something about that conditional is malfunctioning
#
GWG
But why for you, I wonder
#
miklb_
because it is me.
#
miklb_
one good thing, I had authenticated with Quill on my phone earlier with 1.4.3. I've since switched to master and was able to post from my phone just now running master micropub and master indieauth
#
miklb_
without re-authing on my phone
#
GWG
Wouldn't you still have a token?
#
GWG
Using Quill?
#
GWG
Or some other phone client?
#
miklb_
sure, just pointing out that different versions of micropub, stable for auth and master for subsequent post. Yes, Quill added to my home page.
#
GWG
If you want to revoke the token and try, there is an option in settings in Quill or under User in WordPress
#
miklb_
would that help your testing?
#
GWG
Yes, just to make sure the flow works
#
miklb_
uncomment that line and revoke any tokens and try authorizing again?
#
GWG
No, leave the line commented out.
#
GWG
I am going to propose retiring
#
miklb_
from?
#
GWG
That condition
#
GWG
MICROPUB_LOCAL_AUTH
#
GWG
I need a better way to disable auth
#
GWG
Basically, let the local plugin take over vs IndieAuth.com
jackjamieson joined the channel
#
GWG
Maybe that should be an &&
#
GWG
No, that's wrong
[jgmac1106] joined the channel