#wordpress 2018-06-15

2018-06-15 UTC
#
@megarush1024
Current status: Giving some attention to adding microformats 2 support to #GenesisWP child themes via a plugin so I can let you fine folks handle design while I more fully implement #indieweb principles on http://customerservant.com and thereby @cswordpress.
(twitter.com/_/status/1007412547555938304)
[grantcodes] and [davidmead] joined the channel
#
[davidmead]
then pfefferle++
#
[davidmead]
pfefferle++
#
Loqi
pfefferle has 26 karma in this channel (58 overall)
#
GWG
[davidmead]: Trying to cover everyone.
#
GWG
How is it working for you?
jackjamieson joined the channel
#
GWG
Hello, jackjamieson
#
jackjamieson
Hi GWG, Sorry I actually logged in by mistake (left IRC open when I closed my laptop). I've got to run, but thanks for your advice re: phpunit etc. and the post kinds plugin. I'd like to talk another time if there's anything I can help with
#
GWG
Okay.
#
jackjamieson
I'll message you next time I'm online - I should be around tomorrow. Thanks!
[chrisaldrich], chimo, pia, j12t_, jeremych_ and [mrkrndvs] joined the channel
#
[mrkrndvs]
Ummmm, something has happened to my post kinds plugin, it is not showing any of the information https://collect.readwriterespond.com/the-story-of-my-domain/
#
[mrkrndvs]
[chrisaldrich] did it send you a webmention even though it is not showing all the info?
#
GWG
Odd... no updates recently
[jgmac1106] joined the channel
#
[jgmac1106]
still getting the micropub endpoint error. Going to download my content, delete my blog and reinstall
#
[mrkrndvs]
And I haven't updated anything since my last post GWG
#
GWG
[jgmac1106]: Which endpoint error?
#
GWG
[mrkrndvs]: Strange.
#
[mrkrndvs]
Going to try some other post kinds
#
[mrkrndvs]
I'm still getting an endpoint error too
#
[jgmac1106]
going to try indiereads [gregorlove] put in som other tests. @mrkndvs did any of upur plug ins or themes auto update last night?
#
GWG
Is there an error message there?
#
[mrkrndvs]
I'll have to check. Not that I'm aware of [jgmac1106] but that would be the logical reason
#
[mrkrndvs]
My error message for endpoint is "Authentication Fail: Null"
#
GWG
[mrkrndvs]: That string does not appear in the IndieAuth plugin.
#
[jgmac1106]
I get the same 401 endpoint, let me delete and restore my blog and see if that fixes anything
#
GWG
[jgmac1106]: We did fix a bug where passing the access token outside of the header wasn't working properly. Quill does both if you want to check. Not sure if gregorlove's code does.
#
[mrkrndvs]
I got the 401 yesterday, but can't reproduce it today
#
GWG
[mrkrndvs]: Does that mean it is working today?
#
GWG
hopes
#
[mrkrndvs]
Nope, got the null today 🤷‍♂️
#
GWG
[mrkrndvs]: I wonder if some other plugin is conflicting.
#
GWG
Do you have anything that does authentication installed?
#
[jgmac1106]
yeah that is my thinking, can you check to see if plugins autoupdated?
#
[mrkrndvs]
What I don't get with the post kinds is that the information is still showing for the other posts, just not today's 🤔
sketchess joined the channel
#
GWG
[jgmac1106]: I'll ask you as well, do you have any other plugin that does auth? If there's a conflict, that might explain this
#
[jgmac1106]
no, but I think it is a bigger issue with my file structure, even when I delte my entire instance and then install a clone my diles end up all over the place rather than my chosen directory, going to work on that first
#
GWG
[mrkrndvs]: I found your bug.
#
Loqi
[dshanske] #178 Response Isn't Showing if Content or Excerpt is Blank
#
GWG
I'll do some Post Kinds bugfixes after work and see if I can release a fix.
#
GWG
I need to push the auto-setting of read kind for gRegorLove's project anyway
#
[mrkrndvs]
Oh ok. I'll just go easy on the 'likes'. No rush. I was just wondering. Thank you 👍
#
[jgmac1106]
[mrkrndvs] my likes will always be blank if I don't add a sentence or two
#
GWG
[mrkrndvs]: I just quickly tested it, but I can work on it later.
#
GWG
[jgmac1106]: That's a bug.
#
GWG
Not a feature
#
[jgmac1106]
off ha ha, [chrisldrich] and I talked about it, he said he stopped doing plain likes because it is digital vapor and doesn't leave a post as well
#
GWG
I'm home early today. They always give us off after the Milestone Luncheon
#
GWG
[jgmac1106]: I always have brief explanation on my likes, which is why I probably didn't notice until [mrkrndvs] just mentioned it. But having it isn't required, so it shouldn't be mandated.
#
[jgmac1106]
feel free to walk by the river or head to park
#
[jgmac1106]
[mrkndvs] if you add a sentence to you like until then it will worl
#
GWG
[jgmac1106]: I'm nowhere near a river.
#
GWG
If you add a space to the excerpt, that works too
#
GWG
[jgmac1106]: Would a lake do?
#
[jgmac1106]
or your gardens, just don't want to think you need to pend a few summer hours off fixing a plugin, unless of course that is where you want to find your joy today
#
GWG
[jgmac1106]: It's quite possible that I want to celebrate 15 years of service to my employer by working on something. But I thought I might take a nap.
#
[jgmac1106]
!tell schmarty Kapowski needs a Slack bot
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
[jgmac1106]: I missed my Friday evening nap last week seeing aaronpk.
#
GWG
Don't regret that. But would enjoy one.
[kevinmarks] joined the channel
#
GWG
[jgmac1106]: What other WordPress Indieweb things are you up to?
#
GWG
[jgmac1106]: Did you ever refresh TwentySixteen-Indieweb with support for the WP Term Image plugin?
[xavierroy] joined the channel
#
[xavierroy]
Been having script injection issues in my site for the past few days... Wondering how to fix it
[jgmac1106] joined the channel
#
[jgmac1106]
@gwg I just posted my itched on my wiki page
#
[jgmac1106]
but today I am on a hunt for themes that will work out of the box when you install all the plugins, thinking we have three levels of themes 100% indieweb developed and 100% indieweb compatible, and then everything else
#
[jgmac1106]
...but I think I may have discovered what caused all the problems with my website. I had at one point put my comprehensive exams (I think built using iWeb) on the domain: http://jgregorymcverry.com/Welcome.html
#
[jgmac1106]
that was for my pHD ten years ago there is an underscore in the file structure
#
[jgmac1106]
added bonus I found my original background image to my myspace site (the chess board)
#
[jgmac1106]
Did you ever refresh TwentySixteen-Indieweb with support for the WP Term Image plugin?.....no I forgot 2016-indieweb takes manual updates. We should make a twitter account or use indiewebcamp to announce important theme and plugin updates
#
[jgmac1106]
I am hoping this old iWeb instance I had bits and pieces laying around in my root file is what has caused all my issues.
[cleverdevil] joined the channel
#
jgregorymcverry.com
edited /WordPress/Onboarding (-30) "/* Recommended Changes */"
(view diff)
#
[jgmac1106]
[pfefferle] I wrote the interview protocol for theme developer user stories here: https://indieweb.org/WordPress/Onboarding#Recommended_Changes Would love feedback from you @gwg and [miklb] feel free to chime in
#
[jgmac1106]
oops not there, ignore the anchor
[grantcodes] and [miklb] joined the channel
#
[miklb]
good morning
[jgmac1106] joined the channel
#
[jgmac1106]
morning fine sir
#
[miklb]
I’ll be honest, I’m not sure what the user story for theme developers solves, but as long as they are all optional questions to answer, I don’t see any problems with it
tantek__ joined the channel
#
[jgmac1106]
just documenting history and if there were decisions made in the past being able to pint new theme developers towards some documentation on to what decisions were made about different things can help
#
[jgmac1106]
we can say, "see the change logs" or look at GitHub commits but that just points to the how and not the why
#
[jgmac1106]
Always optional and i allow any participant first right of denial over any segment of a video before i publish it
#
[jgmac1106]
[cjwillcock] is doing an awesome job really capturing some thoughts around themes. Maybe [miklb] I thought instead another approach would be to try a a bunch of themes that can work with the plugins with the most minimal friction possible
#
[jgmac1106]
also [miklb] would want to get your thoughts about planning for better testing and stuff I have seen you bring up. Planning for larger communities and how a community layer can help or hinder, etcc
#
[jgmac1106]
"your" being a collective of indieweb theme developers
[miklb] joined the channel
#
[miklb]
commit messages **should** explain the why as well. If it were my call, community plugins would have checks for commit message just like we check for linting errors.
[schmarty] and [cleverdevil] joined the channel
#
[jgmac1106]
+1 to well written commit messages
#
[jgmac1106]
well after completely rebuilding my website from the ground up I can not get my wesbite to work with micrupub endpoints due to the header authorization. Officially giving up. My only thinking since I can get mincropub working on a subdomain with a 100% same set up it may have something to do with my WordPress install being on the root access of jgregory/public_html and not in a directory folder, pure conjencture as I am out ifead. #T
#
[miklb]
Omnibear still doesn’t work for me. Quill does. ¯\_(ツ)_/¯
#
[miklb]
that’s using WP Indieauth to authenticate with the clients.
[chrisaldrich] joined the channel
#
[chrisaldrich]
[jgmac1106] But you haven't leveraged the true power of the indieweb. If your current host is doing something hinky with the headers and it's not working. You should be able to walk across the street to a competitor who does allow them and voila! Problem solved.
[manton] and [keithjgrant] joined the channel
#
[keithjgrant]
[miklb] any idea what omnibear's doing wrong? Any errors in logs?
#
[miklb]
it’s a php error on the WP side of micropub
#
[miklb]
Omnibear logs “error authenticating to micropub endpoint”
#
[keithjgrant]
Any further info in the log UI?
#
[jgmac1106]
[chrisaldrich] for the level of customer support reclaim hosting provides I would rather not micropub, than move somewhere else or use my own servers. they have been working hard to solve the issue with me. and I have used Known, so I do know how it works when things just work. Everyone has been so helpful [zegnat] [miklb] [gwg] [aaronpk] its just an itch I have scratched till I bled need to heal for a bit
#
[keithjgrant]
(you can click the entry to expand if there is more info)
#
[miklb]
I’m juggling a few chainsaws at the moment, and circle back to indieauth/micropub every few days. Nothing pressing, but if anything I can do to help debug.
#
[miklb]
I noticed that + to option to click, but nothing happens in FF Nightly at least.
#
[chrisaldrich]
[jgmac1106] and that's completely reasonable too.
#
[keithjgrant]
Hm. That means it's got the info
#
[keithjgrant]
I'll check into that
#
[miklb]
the micropub content logs on the WP side, it just doesn’t create the post, rather throws an error in the micropub client. I need to double check if that is in an issue
#
[jgmac1106]
I could just go back to WordPress for long from articles and building pretty looking websites and run anything #indieweb through Known again, at least then things will work.That will be when I ultimately throw in the towel. I like the one site approach. Been a ton of fun..... but ...WordPress
#
[jgmac1106]
now going to play with themes and see how many I can find that will work with the other plugins out of box, fun scavenger hunt
#
Loqi
[miklb] #133 Bug: Posting from Omnibear with IndieAuth fails.
#
[jgmac1106]
[gwg] does WP favor titles when searching, to tags beat titles? is there a way to only serach chronological: https://jgregorymcverry.com/?s=theme
#
[miklb]
I’m not sure WP uses tags in search by default.
#
[jgmac1106]
[miklb] okay thanks, still I need to go back and tag all my notes since they are all uncategorized
sebsel joined the channel
#
[jgmac1106]
@gwg This happens to me a lot when I add the post kind plugin. You see no choices for post kinds until you go and change the defaults, then they will appear on a new post page
#
[jgmac1106]
so I have tried two different themes (Fluida, Hueman) that say they have microformats but they are not mf2, when I add mf2 plugin metadata works and the source code gets the thumbs up from indiewebify.me, when I add webmentions I do not seem to send or receive. I can't get webmention.rocks to work either. Not sure if it is a pattern or an interest.
#
[miklb]
a lot of WordPress have bad mf1 due to poor legacy use. It is a fundamental hurdle in IW WP theme development. It was the first thing I noted about IW WP over a year ago, before I made the switch.
#
[jgmac1106]
i installed semantic linkbacks at the same time as well,
#
[miklb]
a lot of WP themes^
#
[miklb]
constantly complaining about it will not help. We continue to work on ways to influence the broader WP community, but it has been a slow progress. GWG recently got _s to fix a long standing problem, but that only helps new themes built with it, not the 1000s that were using mf1 incorrectly.
#
[jgmac1106]
Thanks just trying to find the break points, and you probably already know this..then find out what happens when all you do is try to remove it...but it sounds like from what you folks say the poor legacy use can come from anywhere
#
[miklb]
IMVHO a better use of someone’s time would be to an advocate for mf2 in WordPress.
#
[jgmac1106]
Need someone with way more juice than me
#
[jgmac1106]
or a lot of someone's
#
[jgmac1106]
a route of encouraging child themes with just removal of legacy and update to mf2 would't work you don't think?
#
[miklb]
it’s why I’m hoping to get mf2 into that new WP Rig theme from LinkedIn
[chrisaldrich] joined the channel
#
[chrisaldrich]
Some of the poor legacy use is hard coded into WordPress core while other parts are just theme developers who don't know how to properly use or next microformats. Then there's also the issue of themers targeting semantic classes for CSS and JS which can cause things to break when using hooks/filters to inject mf2 programmatically, which is what the microformats plugin is trying to do.
#
[jgmac1106]
yeah [miklb] I think that looks really cool.
#
[miklb]
I have my first PR about to be accepted for wprig (non mf2 related) to get a feel for where they want to go with the project.
#
[miklb]
I was testing out that theme with latest Gutenberg and I’m really impressed.
#
[jgmac1106]
maybe somebody could mention it to any senior cloud develop advocates he may know at Microsoft since it is a LinkedIn project, maybe there could be some support for the effort
#
[miklb]
never in a million years would I have thought I would be excited about Customizer/Gutenberg, but here we are.
#
[jgmac1106]
well off to get kids, then its baseball time, enjoy all. Thanks for the help
jackjamieson joined the channel
#
GWG
Afternoon
#
jackjamieson
Hi GWG, sorry I couldn't stick around yesterday
#
GWG
Happens.
#
jackjamieson
You mentioned on GitHub about scheduling a chat. That'd be great if you have any advice for how I can best contribute to post kinds (and others)
#
GWG
The question is... what do you want to do? We can go from there?
#
GWG
I can think of a lot of things I want to do, but you should focus on things you want to contribute
#
jackjamieson
Well, I guess first off I'll look into phpcs and phpunit as you suggested. First off I was just confused about why the PR failed the Travis test, but that's mainly my inexperience
#
GWG
jackjamieson: I am self taught on that
#
GWG
Basically, phpcs checks coding standards
#
GWG
We comply with the WordPress coding standards.
#
GWG
PHPUnit does unit tests
#
GWG
I don't have enough of those
#
GWG
They just test that functionality works the way it is supposed to
#
GWG
If you install composer, it will install the dependencies
#
jackjamieson
I don't have experience doing unit tests, but that's probably a good thing for me to learn at any rate
#
jackjamieson
So maybe I can take that as a good starting point, and try to use that as a small project to learn how to better comply with the standards etc.
#
GWG
jackjamieson: I'm horrible at them.
#
GWG
I have to force myself to do them.
#
GWG
Ask snarfed, who managed the Micropub plugin
#
GWG
jackjamieson: But, basically, my question is what functionality or issue bothers you the most?
#
GWG
That is what you should work on
#
GWG
I'm happy to help you help the plugin
#
jackjamieson
I guess the main thing I was frustrated with in the past was detecting post kinds through micro-pub. Actually I had stopped using micropub for awhile because of that. It seems like that's improved a lot, but that's why I leapt onto the read kind detection.
#
jackjamieson
indiebookclub motivated me to give it another try
#
GWG
jackjamieson: I am going to release that code, and do a few more fixes.
#
jackjamieson
So it may the case that my main peeve is resolved (it was a small one)!
#
GWG
jackjamieson: Time to find new peeves?
#
jackjamieson
And in the mean time I think your tips re: standards are useful so I can do a better job of addressing itches as they arise
#
jackjamieson
Probably a good idea to get my own projects up to standard as well :)
#
GWG
For me, it was pfefferle pushing coding standards and snarfed pushing unit tests
#
jackjamieson
Makes sense to improve interoperability
#
jackjamieson
This is my first time wanting to contribute to such a modular sort of ecosystem
#
[miklb]
jackjamieson++
#
Loqi
jackjamieson has 1 karma in this channel (2 overall)
#
GWG
jackjamieson: I tried to make it easy for people to add.
#
jackjamieson
it's well organized. I'm not a very strong coder and I can navigate it pretty easily
#
[miklb]
modular as in multiple plugins necessary to achieve a singular goal or…?
[tantek] joined the channel
#
jackjamieson
[miklb]: That's more or less what I mean, but beyond just being necessary that it's useful to extend upon plugins
#
jackjamieson
e.g. I've added support for post kinds to a plugin I made
#
[miklb]
right on
#
jackjamieson
I guess WordPress is like that in general, but even beyond that indieweb involves a lot of parts working together
#
GWG
[miklb]: How do you feel about it?
#
[miklb]
I feel like the best solution would be a master plugin. I’m not suggesting the community is there yet, and have appreciated the perspective of those who have put the work into them thus far.
#
[miklb]
but if everyone agreed tomorrow to combine webmentions, semantic linkbacks, syndication links (the new version with syndicate-to) and micropub into 1 plugin, I would do what ever I could to help make that happen.
#
[miklb]
I personally would include post-kinds but I understand that’s a bigger deviation from the core IndieWeb experience.
#
GWG
miklb, how is it a bigger deviation?
#
GWG
I am not saying that it is or isn't
#
[miklb]
I prefaced it by saying I’d include it, but could see the argument that it isn’t required for current expected IW experience. I’d argue the other ones definitely are.
#
GWG
Syndication Links could go either way.
#
GWG
I suggested merging IndieAuth and Micropub
#
[miklb]
not really. You need that for backfeed from bridgy, and I think that’s part of the attraction.
#
GWG
I think there are a lot of controversies in that area
#
[miklb]
which area?
[manton] joined the channel
#
GWG
What to merge/combine
#
[miklb]
agreed. I said the community isn’t there yet.
#
GWG
But I have merging Bridgy into Syndication Links on my list.
#
GWG
miklb, I keep pushing that back for other things
#
[miklb]
sure. The IndieAuth stuff is fantastic. Just watch out for burnout.
#
GWG
miklb, trying to get some more enhancements before IWS
[jgmac1106] joined the channel
#
[jgmac1106]
I am finding few people are using Bridgy as their main syndication tool. I have been doing it exclusively for awhile but most dont
#
jackjamieson
[jgmac1106]: Agreed. For a long time I was using SNAP, and in that case it makes sense to have syndication links available as a separate plugin
#
GWG
Do you understand what I will be doing?
#
[miklb]
even without bridgy, syndication links are used in some mf2 parsers aren’t they?
#
GWG
Yes
#
jackjamieson
GWG: Maybe I don't understand
#
[miklb]
so even if you don’t use bridgy, you would still benefit from having syndication links, regardless of the method of syndicating.
#
GWG
My plan is to build a platform inside Syndication Links for POSSE
#
[miklb]
thus a good candidate for inclusion into a primary IW plugin
#
GWG
So, Bridgy and Indienews will be two providers on that platform
#
GWG
And anyone should be able to write any plugin to work with it
#
GWG
It is basically taking the Bridgy checkboxes and Micropub syndication targets and making that a feature
#
[miklb]
you could then create your own syndicate-to targets. I’m even wondering if that could be done in the admin UI.
#
jackjamieson
That sounds pretty cool
#
[miklb]
click a button to create new target, and a form with required/optional fields for a new target.
#
[miklb]
assuming you have an external URL to trigger the action. You’d need a plugin for more complex actions.
#
[miklb]
is thinking out loud
#
GWG
miklb, first I need to finish the abstraction layer
#
GWG
I did this in Simple Location, where Weather providers, map providers and geo location providers are all present and can be written for any platform
#
[miklb]
I need to write a function to auto-posse likes & replies from micropub. I’ve been talking about that for months.
#
GWG
miklb, I might build some functionality in that area into this idea
#
[miklb]
as soon as I get Omnibear or Indigenious working with my setup, it will be the top itch to scratch
#
GWG
I still am unsure the issue as both work for me.
#
GWG
It's hard to track down
#
[miklb]
I forget to mention again, I am in mulitsite
#
[miklb]
but the fact it works with Quill throws a wrench
#
GWG
miklb, must be a reason. But if we can figure out the issue, I want to fix it
#
[miklb]
I’ll keep digging as time allows
#
GWG
Great
#
GWG
I intend to do some Post Kinds bugfix
#
GWG
Then back to Syndication Links most likely
#
[miklb]
I think I’m going to submit an issue/PR for removing the CSS on `.hentry` in wprig as a trial ballon to discuss mf2
tantek__, [kevinmarks] and [chrisaldrich] joined the channel
#
[chrisaldrich]
!tell [mrkrndvs] I noticed your likes having problems displaying the other day and commented on the reason for it on micro.blog as well as my own site: https://boffosocko.com/2018/06/11/dislikes/#comment-54243 Ultimately the webmention wasn't sent because there was no link on your site for mine to see when mine checked for the URL.
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[c] @mrkrndvs I considered doing that, but when searching the archive it makes it harder to separate the likes from the dislikes. Incidentally I noticed that your like feed has content, but appears to be empty: collect.readwriterespond.com/kind/like… I...
#
tantek__
hey GWG, how ready do you think various WordPress plugins are for a major multi-author blog like say, https://hacks.mozilla.org/ ?
#
tantek__
hypothetically speaking :)
jackjamieson left the channel
#
GWG
I have not looked much..
#
tantek__
our various IndieWeb WordPress plugins that is
#
tantek__
in particular I'm curious about how aware the IndieWeb WordPress are of a multi-author WordPress blogs. Will things "just work" or is there configuration needed, or will multiple authors confuse the plugins?
#
GWG
They all should
#
tantek__
thanks GWG, that helps
[grantcodes] joined the channel
#
[chrisaldrich]
tantek I think that miklb has a multi-site install and has played around with most of the plugin suite without any/many issues. He may have more direct insight as a result.
[miklb] joined the channel
#
[miklb]
yes, I’ve not had any issues in multisite. But he’s asking about multi-author
[cjwillcock] joined the channel
#
[cjwillcock]
hello indieweb
#
[cjwillcock]
wordpress 🙂
#
[cjwillcock]
I am tinkering with a bit of code that will investigate a WP theme, to highlight things that need fixing - ie: using microformats in CSS
#
[cjwillcock]
*any WP theme
#
[cjwillcock]
and when I say highlight, I mean report on
#
[cjwillcock]
to do some analysis of things like - does this thing use mf2? does it use mf1?
#
[cjwillcock]
it's not being setup to consume the HTML, but rather to static analyze the theme files
#
[cjwillcock]
so yea, that's my weekend project
#
[miklb]
sounds awesome
#
[cjwillcock]
'triage'
#
[cjwillcock]
i know WP core sets the 'hentry' stuff, any other big problems with WP core re: use of microformats, or things that make mf2 uptake more difficult?
#
[cjwillcock]
my goal is to be able to report with recommendations, change this css, look in this file on this line for hAtom thingers, etc. etc.
#
[cjwillcock]
once it can do just about anything useful, I'll post source
#
GWG
I would have to see