#wordpress 2018-04-05

2018-04-05 UTC
chrisaldrich, [cleverdevil], j12t, petermolnar_, petermolnar, [jgmac1106] and tantek joined the channel
#
GWG
Okay, separate ID and core presentation done
aaronpk and [aaronpk] joined the channel
#
GWG
More to do
[cleverdevil], bdesham and [miklb] joined the channel
#
[miklb]
I do use multisite, but I’m not planning to use the same user profile across different sites.
#
[miklb]
I’m also questioning if I’m going to build anything new with WordPress.
#
GWG
Oh?
#
[miklb]
yeah. I’m really ambivalent about the future of WordPress and it’s ecosystem and if I want to invest any more personal time and energy there.
chrisaldrich joined the channel
#
GWG
I am too, but I'm not ready to leave
#
GWG
Also, what is left?
[miklb] joined the channel
#
[miklb]
go back to static, revisit the Habari code base. That’s where I’m at again.
#
GWG
Sorry to see you go
#
[miklb]
it won’t happen soon, just rethinking how much of my personal stuff I want to invest into WP. Not to mention the work to export what I have collected into a way that it’s usable somewhere else.
[ryan339] joined the channel
#
GWG
[miklb]: There are ways.
[snarfed] and [miklb] joined the channel
#
[miklb]
I meant more massaging the WP export into a format that can be imported and get all of the post_meta
#
GWG
Microformats parsing
j12t joined the channel
#
[miklb]
ah, true.
j12t_, j12t, tantek, [kevinmarks] and [colinwalker] joined the channel
#
[colinwalker]
Morning Indieweb.
#
[colinwalker]
Quick question: is there a way to markup a link in a post so that the webmention plugin doesn’t trigger for that link?
Loqi, aaronpk and [pfefferle] joined the channel
#
[pfefferle]
[colinwalker] no, not at the moment
[colinwalker] joined the channel
#
[colinwalker]
[pfefferle] OK thanks. Maybe something like manually adding a “nomention” class to a link could skip it.
#
sknebel
curious, what's the use case?
[kevinmarks] joined the channel
#
[colinwalker]
It was prompted by mentioning a micro.blog conversation in a post but not wanting the post to show as a reply on micro.blog because of duplication.
#
sknebel
does micro.blog show pure mentions as replies?
[pfefferle] joined the channel
#
[pfefferle]
If that is the case I would prefer file a bug on micro.blog to support a proper post-type-discovery and/or to file a bug for a better duplication handling…
#
[colinwalker]
Yes looks like that’s the case. I’ll see what Manton says.
#
[pfefferle]
[colinwalker] I would love to keep the webmention plugin as simple as possible and to not implement too many special cases
#
[pfefferle]
the whole topic is complex enough
#
[pfefferle]
if manton can fix it on his side it would be much more user friendly
[jgmac1106] joined the channel
#
[colinwalker]
Understood. Although I think m.b is doing that by design where mentioning a post or conversation URL is effectively a reply regardless is the class applied to the link. I’ve mentioned it in his Slack. Alternatively, would there be a way for me to hook in to the plugin so I could write my own use case? I’ll have to look at the plugin code but if there’s a function or hook I could easily target that would be good.
#
[colinwalker]
*regardless of
#
[pfefferle]
you can hook into the filter and remove all links that have a micro.blog host
#
[pfefferle]
I am also fine with a blacklist that can be defined in the settings area… where users can add hosts, that should not be pinged…
#
[pfefferle]
like the “comment blacklist” in the discussions options
#
[colinwalker]
[pfefferle] Thanks. I’ll have a look.
#
[pfefferle]
[colinwalker] if you want to implement a real blacklist feature, I would love to see it as part of the core plugin! so, if you are willing to submit a merge request… 😉
#
GWG
At least open an issue
#
GWG
[pfefferle]: The Indieauth plugin is nearly ready to be reviewed. aaronpk is reviewing it currently
#
GWG
Full support
#
[pfefferle]
I have seen it and tried to follow the discussion
#
[pfefferle]
btw. indents!!!
#
GWG
[pfefferle] Sorry, I was focusing
#
[pfefferle]
I wait until you merge it and will open a cleanup merge request afterwards 😉
#
Loqi
gwg has 50 karma in this channel (321 overall)
#
[pfefferle]
this is really awesome news, because I always wanted to implement it, but never found the time and/or the motivation…
#
GWG
[pfefferle]: I still have to solve one issue, but I need aaronpk to explain the comment
#
GWG
But I look forward to your feedback too
#
[pfefferle]
which one?
#
GWG
Reject issuing token if request is id
#
GWG
I'm not sure how
#
GWG
But while I am waiting, I started to implement scope as a Micropub PR
#
GWG
I want to do a similar one inside Indieauth.
#
GWG
Also, may try to clean up the token revocation table
[kevinmarks] joined the channel
#
sknebel
GWG: you can just remember with the authorization code if it is for a token or not
#
sknebel
I guess if you make sure to properly handle code requests that ask for no scope (apply some default), you could use the absence of scopes as well
kaushalmodi and [miklb] joined the channel
#
GWG
sknebel, I told the token endpoint to refuse to issue a token without scope in the authorization code.
#
sknebel
spec says assume a default I think, would have to check
#
sknebel
but it's probably an uncommon case, and refusing it would allow making the decision that way
tantek and kaushalmodi joined the channel
#
aaronpk
GWG: is there a reason you're using wp_safe_remote_post instead of wp_remote_post?
#
aaronpk
I can't remember the difference exactly except that the "safe" one doesn't work with my dev setup at all
[kevinmarks] joined the channel
#
sknebel
the "safe" one blocks weird ports, protocols and stuff like that I think, that might have been your problem?
#
aaronpk
hm maybe
#
aaronpk
I already have to tell it to skip ssl verification cause it's not using my system root CA list
#
aaronpk
GWG: sent you a small PR to improve the UI a bit
#
aaronpk
now going through and testing out some of the failure messages
#
aaronpk
trying to proactively write better errors so when people inevitably quote error messages in issues we'll be able to track things better
#
aaronpk
things like "error: Failure" will be almost impossible to trace later
#
GWG
Thanks
#
aaronpk
is there a way to make wordpress return an http 400 code without using WP_Error()
#
aaronpk
the problem with WP_Error is it wants to use its own format rather than the oauth error/error_description keys
#
GWG
I will look
#
GWG
Yes, I can
#
GWG
I can create a custom return with status
#
aaronpk
can you show me how? I'm doing a bunch of cleanup in this already, it'll be easier to send a PR
#
GWG
So I could create an oauth response using the WP_Rest_Response object
#
aaronpk
oh yeah that'd clean things up a little bit
#
aaronpk
hold off for a second tho, i'm going to send a PR
#
aaronpk
i've rewritten a bunch of the error handling
#
GWG
I could create a class that extends it to default to the oauth parameters
#
aaronpk
can you merge my UI PR?
#
GWG
Done
[kevinmarks] joined the channel
#
GWG
aaronpk: Just tell me when and I'll write out the new error handling.
#
aaronpk
oh i'm already working on it sorry
#
aaronpk
i'll have you review this shortly to make sure i'm doing things the Wordpress Way
#
GWG
I'm not the best fieldtest of that, but okay
#
aaronpk
you're certainly better at that than me
#
aaronpk
I think i've got this
#
Loqi
[aaronpk] #4 standardize IndieAuth error handling
#
GWG
aaronpk: I'd put the class in its own file, which is WordPress standard, but I think I can do that easily.
#
aaronpk
it seemed small enough to not warrant a separate file but your call :)
#
GWG
WordPress insists
#
GWG
I try to comply with their coding standards
#
aaronpk
that's usually a good idea :)
#
aaronpk
do you want me to update the PR or are you going to merge it and take care of it?
kaushalmodi joined the channel
#
GWG
I'm going to merge it and take care of it.
tantek joined the channel
[jgmac1106], j12t, tantek, [snarfed] and chrisaldrich joined the channel
#
chrisaldrich
!tell colinwalker I'd thought about use cases for nomention a while back too: http://boffosocko.com/2018/01/24/definition-of-submention/ there was also this comment in relation to Mastodon recently: https://github.com/tootsuite/mastodon/issues/6074#issuecomment-378429901
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Chris Aldrich] sub·men·tion (noun informal): 1. A post about someone or something on a personal website where one neglects (accidentally or on purpose) to either send a webmention and/or syndicate a copy out to an appropriate social silo. 2. Such a post which exp...
#
[jgmac1106]
[chrisaldrich] was using inoreader as my reader for my classes. I have a feedly pro account but they dont allow you to share their bundles as an rss feed. Not even sure why I pay still. Of course now dealing with the problem of the double feeds in Inoreader due to some http/https thing in Wordpress. Seems like they blame Wordpress and Wordpress blames them. Have documentation on it but don't have the time. Just made a discussion board
#
[jgmac1106]
post links each week would love to think about how h-cards could be used by a reader or in a multi-site wordpress to create a teaching an rss environment dashboard
#
[jgmac1106]
that is for my entry level classes. My only classes are in Slack and use RSS bots for posts and comments,might want to try going headless as well but again would need the dashboard
[chrisaldrich] joined the channel
#
[chrisaldrich]
[jgmac1106] I built a following page a while ago on WP that outputs OPML and even OPML via category. http://boffosocko.com/2017/11/10/a-following-page/
#
Loqi
[Chris Aldrich] A Following Page (aka some significant updates to my Blogroll)
j12t joined the channel
#
[chrisaldrich]
One can plug the OPML for subcategories into Inoreader's OPML subscription set up and then any changes I make to the file after the fact also updates the subscribe list for those following it in inoreader as well. Perhaps this might work better for you for classes?
#
[chrisaldrich]
This could let you create a quick mini-planet via feed reader for students (and yourself) to follow later on.
#
[chrisaldrich]
What is a planet?
#
Loqi
A planet, in the context of the indieweb, and blogs/feeds for even longer, is a site that aggregates feeds/updates from a variety of sources, typically focused on a particular topic or community https://indieweb.org/planet
#
chrisaldrich
As an example, here's my OPML file for the sub-category IndieWeb that will let you subscribe to a regularly updating feed of IndieWeb folks: http://boffosocko.com/wp-links-opml.php?link_cat=1521
#
chrisaldrich
For reference, here's the details for Inoreader's OPML subscription functionality: https://blog.inoreader.com/2014/05/opml-subscriptions.html
#
chrisaldrich
I don't think Feedly supports this type of functionality and I'm not aware of many that do, other than perhaps Dave Winer's "River" Products.
[jjdelc] and [miklb] joined the channel
#
chrisaldrich
jgmac1106, I'm not quite sure I follow your h-card reference and what you had in mind there.
#
[miklb]
I’m so over the WP ecosystem, I regret every minute I’ve wasted moving my blog to it. 😞
#
[chrisaldrich]
What happened [miklb]?
#
[chrisaldrich]
I've seen a few of your earlier conversations, but wonder what specifically gets you?
#
[miklb]
I spoke up.
#
[chrisaldrich]
As you should!
#
[miklb]
check my Twitter timeline. I haven’t compiled it into a blog post yet.
#
aaronpk
i can't tell where the thread starts
#
[miklb]
yeah, it’s not threaded, I was on a walk and couldn’t hold my fingers.
#
chrisaldrich
@miklb I love your comment about skating to where the puck is. I think you're dead on there.
#
@helenhousandi
Oh and P.S. I have an unfortunately long memory for usernames, I remember that guy as saying it was "telling" that a WP lead (me) would publish a post on Medium with asking me about it. How would I know what we're allegedly competing with if I never use their tools? 🙃
(twitter.com/_/status/981577203002560513)
#
[miklb]
I was “that guy”
#
[miklb]
then I read back through the thread where she accuses me without calling me out directly and I kinda went on tilt
#
chrisaldrich
I see why they're worried about Wix and SquareSpace, but honestly I think that supporting Micropub instead of building Gutenberg would be a far smarter and more flexible position.
#
[miklb]
That’s been my point in a long discussion. Micropub and add REST API authentication IMO would be better long term solutions.
#
@tevyaw
@Skarjune @rob_neu @JJJ & @miklb if this were about http://WP.com or Automattic's bottom line, they'd just build it internally, then move on, maybe making it available to the rest of us via JetPack. They'd avoid all the criticism & pushback. They did that with Calypso.
(twitter.com/_/status/980947342613295104)
#
[miklb]
which I got pulled into because of this https://twitter.com/miklb/status/980851462824775681
#
@miklb
@dimensionmedia @JJJ why? is WordPress dot Org competing with commercial products or is this just an acknowledgement that this is about WP dot Com
(twitter.com/_/status/980851462824775681)
#
[miklb]
anyway, thanks for letting me let off a little steam. Feeling a lot of deja vu
#
chrisaldrich
@miklb, I wouldn't sweat it too much. I can see why she might want to vent, but she also doesn't seem to provide any argument in any other direction.
#
chrisaldrich
She doesn't address or link to any other arguments other than that she feels "attacked".
#
chrisaldrich
Unless I'm missing something, it doesn't seem like you've made an ad-hominem attack, you're just criticizing a product.
#
[miklb]
I didn’t even know she was/will be lead dev again. Zero clue. I thought Matt was still driving Gutenberg
#
[miklb]
I did make a comment months ago about it being “telling a lead WP dev is publishing on Medium instead of their own WP blog”
#
[miklb]
which ruffled feathers, and seems to have struck a nerve as it was brought back up.
#
[miklb]
¯\_(ツ)_/¯
#
chrisaldrich
I suspect you were referencing Amanda's post the other day? https://twitter.com/cswordpress/status/980819040405946368
#
@cswordpress
Dear the WordPress. You know I love you like family. But I am testing Gutenberg with Jaws right now and we really need to have an honest discussion about where this is going, including discussions from the other concerned developers.
(twitter.com/_/status/980819040405946368)
#
[miklb]
yes, it was a direct reply to Amanda’s tweet. I guess I should have included a 😉
#
chrisaldrich
I've heard the Wix/Squarespace competition argument a hundred or more times in the last 6 months from various folks.
#
chrisaldrich
But when I look at internet usage numbers, WP is at 30% and growing and the other two combined make up 1.5%?
#
chrisaldrich
Naturally WP could improve their UI and make it more user friendly, but any platform should strive to do that.
#
chrisaldrich
Are the more "local" numbers in terms of direct competition scaring Automattic? (ie, when you leave out the 25% of legacy/generally unmaintained/inactive sites)
#
chrisaldrich
Even if this is the case I really don't get what Gutenberg is going to do to make things that much better, particularly for a platform with so much legacy support?
#
[miklb]
that’s my assumption at least. Automattic/VIP service providers
#
[miklb]
which 10up is a big player in that area.
#
chrisaldrich
If they're going to make such a big break, why not start over from scratch and refactor WP 2.0 based on their years of experience?
#
[miklb]
I agree. a 5.0 should mean breaking API changes.
#
[miklb]
maintain security releases for 4.9.x
#
chrisaldrich
If they truly wanted to worry, they should be scared that SquareSpace builds a first class feed reader and builds in Webmentions. That would eat WP's lunch for the coming year...
#
chrisaldrich
I suspect Automattic's bigger worry is their tremendous server farm infrastructure which can't be inexpensive to own/maintain. It's also a problem that the others have to struggle to build for themselves too.
#
[miklb]
Like I said, deja vu. It’s why I dumped WP the first time and joined skippy & the other founders of Habari.
#
chrisaldrich
@miklb, well, try to let her ad hominem/subtweet atttack go... there's better things you can do with your emotional energy to make the world a better place.
#
sknebel
any ideas how important Woocommerce is to Automattic's bottom line? e.g. squarespace doesn't just eat into hosting profits there
j12t and [gerwitz] joined the channel
#
chrisaldrich
as a total, I'm not sure, but offhand, I suspect that platforms like Shopify have a bigger piece of that pie.
#
chrisaldrich
WP/Automattic's bigger issue is that they're trying to be all things to all people in some sense.
#
chrisaldrich
Perhpas reminiscent to the tweetstorm yesterday about Ghost moving away from Slack... some things are easy when you're small, but it's hard managing things when you've got much larger scale.
#
@JohnONolan
After 4 years of running a (11,000 member) public Slack community for @TryGhost — today we’ve decided to shut the whole thing down for good. I’ve got a few interesting observations to share from the experience, and what we’re moving to now instead. And so beginneth the thread:
(twitter.com/_/status/980872508395188224)
[sdepolo], [kevinmarks], [kaushal_modi], tantek, [gerwitz] and [colinwalker] joined the channel
#
[colinwalker]
!tell chrisaldrich Thanks for that.
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[colinwalker]: chrisaldrich left you a message 4 hours ago: I'd thought about use cases for nomention a while back too: http://boffosocko.com/2018/01/24/definition-of-submention/ there was also this comment in relation to Mastodon recently: https://github.com/tootsuite/mastodon/issues/6074#issuecomment-378429901
j12t and tantek joined the channel