#wordpress 2018-07-15

2018-07-15 UTC
ben_thatmustbeme, dougbeal|mb1, tantek__, [jgmac1106] and [wiobyrne] joined the channel
#
[wiobyrne]
Thnx [jgmac1106] and @sknebel 🙂
#
[wiobyrne]
jgmac1106++
#
[wiobyrne]
sknebel++
#
Loqi
jgmac1106 has 7 karma in this channel (28 overall)
#
Loqi
sknebel has 2 karma in this channel (112 overall)
#
[wiobyrne]
So how/where do I add those materials? 🙂
#
[jgmac1106]
[wiobyrne] just copy and paste the code in gist to the same paragraph on your home page
#
[jgmac1106]
you don't have to do paragraph form we can build it anyway you want, working on my grant application so here for next hours or so
#
[jgmac1106]
I might move around a bit of your </a> closing tags
#
[jgmac1106]
you have entire paragraphs tht look like single links but they are many different links
#
[jgmac1106]
I also thought /start-here is a redirect to your home page. I think you still need an hcard on https://breadcrumbs.wiobyrne.com
#
GWG
Morning
#
Loqi
rise and shine!
#
[jgmac1106]
add an html block to your sidebar widget, and put the hcard in <link> to not have it display
#
[jgmac1106]
Hey David, good morning
#
GWG
jgmac1106, morning, what have you been up to Indieweb wise?
#
[jgmac1106]
more meta, than itch scratching, been trying to find a NYC venue for IWC, working on a federal IES grant
#
[jgmac1106]
[wiobyrne] I would ask @gwg but you could add an h-card for [chrisaldrich] like <a class="h-card u-url p-name" href="https://boffosocko.com/">Chris Aldrich</a> but don't embed that inside your h-card. You would need to end the </div> before...I think. Can just link to Chris and not even worry about it
#
Loqi
 Articles  Notes  Replies  Photos  Checkins  Audio Microcast  Listens  Watches RSVPs  Read  Highlights  Annotations  Favorites  Likes  Reposts  Bookmarks  Follows Jams  Video  Quotes  Ch...
#
[jgmac1106]
My next itch will be getting Bridgy to LinkedIn working so you can fold it into whatever your plans are for the plugin
#
[jgmac1106]
but my class starts 7/30 and I am having everyone #indieweb wordpress, so need to finish /getting-started-with-WordPress-for-Beginners and a ton of video tutorials
#
[jgmac1106]
so that will take precedent.
#
GWG
I have been meaning to build a Kind Widget or two
#
[jgmac1106]
just make a widget of [chrisaldrich] menu, though I joined dark side and use a page builder for my archive views
#
[jgmac1106]
help [wiobyrne] and add two options to the hcard widget, remove location, remove image.
#
GWG
[jgmac1106]: We had discussed me doing that. It's a good idea
#
GWG
I have been focusing on Micropub and IndieAuth, but doing some little things in between waiting for PR reviews
#
[jgmac1106]
yeah be neat, could see a few toggle options image, location, and social media links
#
GWG
[jgmac1106]: Did you file an issue with that idea against the Indieweb plugin where the widget in question lives? I use that when I'm trying to remember what to do
#
[jgmac1106]
no, I try to shy away fro feature requests on GitHub but I can add it if it's your workflow
#
GWG
[jgmac1106]: That's where I put all my feature ideas.
#
Loqi
[jgmac1106] #109 h-card widget features
#
GWG
My next idea outside of the Micropub thing is adding the structure of a Post Kind into the plugin as data
#
[jgmac1106]
cool idea
#
GWG
Then the system can read it to generate the UI
[jgmac1106] joined the channel
#
[jgmac1106]
[wiobyrne] you may just want to set a static homepage and make start here your index
drkokandy, [eddie], [jgmac1106] and snarfed joined the channel
#
snarfed
hi GWG! ...ok. init() is still probably the right place though, so we just need to make the tests work with the add_filter()s there?
#
GWG
Yes. But that will be easier after the other changes
#
GWG
That's basically the issue.
#
snarfed
ahhhh ok
#
snarfed
got it
#
snarfed
ok makes sense now
#
snarfed
just add a TODO comment by those add_filter()s for now then
#
GWG
Will do
#
snarfed
and for the next PR, let's do just what's strictly necessary to move them to init()
#
snarfed
and then the broader test changes
#
GWG
snarfed: It involves changing the load process, which is the changeover from parse_query to dispatch
#
GWG
That's the big one.
#
snarfed
huh ok. i guess i don't understand the background...but if it's big, then ok, it's big
#
GWG
The problem being that the next commit after the media endpoint would be a massive changeover to the dispatch method, which ends up being a giant PR that will make it look like the Media Endpoint file looks now
snarfed joined the channel
#
snarfed
ok! then let's do the auth PR as is, then media endpoint, then all tests, then move the add_filters()
#
GWG
snarfed: Okay.
#
GWG
snarfed: Added a milestone to indicate this is all part of a bigger goal.
#
GWG
I'll start figuring out how to do the tests.
#
GWG
Likely I'll split out the rendering tests and have them work only off the micropub_post_content filter, so that removes the need to rewrite them from start to finish.
[jgmac1106] joined the channel
#
[jgmac1106]
media endpoints++
#
GWG
Then split out the function that does form encoded and changes it over to json encoded and unit test that by itself.
#
snarfed
GWG: ok! also hopefully the rendering changes move us closer to https://github.com/snarfed/wordpress-micropub/issues/85 , or are at least in line with that plan
#
Loqi
[dshanske] #85 redesign to coordinate with other mf2 plugins and themes
#
snarfed
but first things first. auth PR still needs a fix for https://github.com/snarfed/wordpress-micropub/pull/135#pullrequestreview-137251804 , return $user_id vs $user
#
snarfed
then it should be ready to merge!
#
GWG
snarfed: It does. If it is testing the filter...it can test whether the rendering is done dynamically or not...and changing it wouldn't require changing the tests
#
GWG
snarfed: That isn't an error. $user is the return from the user_url function, which is a user ID. $user_id is the ID passed into the filter.
#
GWG
It's correct.
#
GWG
I think I should rename the variable to solve the confusion
#
snarfed
ahhh sorry i missed your comment
#
GWG
I think I can make it easier to read. One second
#
snarfed
yeah the user_url() method should be named better, and that var should end in _id or something similar
#
GWG
snarfed: How's that. Makes it much easier to understand
#
GWG
snarfed: I will rename the user_url function in a future PR.
#
GWG
Also caught a compat error for versions pre PHP5.5
#
snarfed
looks great! mind adding a TODO to rename user_url() ? then i'll happily say lgtm
#
snarfed
let's also plan to have pfefferle be the primary reviewer on the future PR that changes load process from parse_query to dispatch, and any other deep wordpress integration PRs, since he'll have better background than me
#
GWG
snarfed: I asked him and he agreed to review
#
[jgmac1106]
You two keep it up and eventually everyone will just be using different micropub clients without even knowing we are on WordPress
#
GWG
[jgmac1106]: That was a goal of mine
#
GWG
[jgmac1106]: I call it... Gutenberg Insurance
#
GWG
snarfed: Done.
#
GWG
snarfed: I have a PR prepared to port over enhancements made in the same function in IndieAuth to this plugin.
#
GWG
snarfed: To map to authorURLs as well as user URLs, etc
#
snarfed
GWG: approved!
#
GWG
Huzzah!
[snarfed] joined the channel
#
[snarfed]
GWG++ thanks for all your work, and your patience with me reviewing!
#
Loqi
gwg has 73 karma in this channel (382 overall)
#
GWG
snarfed, I am enjoying it
sketchess joined the channel
#
[snarfed]
good! great to hear. this is definitely all supposed to be fun
#
GWG
I am really interested in getting the Micropub plugin better for my use
#
GWG
It is Indigenous for Android that is moving me.
matpacker and [jgmac1106] joined the channel
#
[jgmac1106]
Indigenous is awesome!
sketchess and [Vanessa] joined the channel
#
[Vanessa]
I'd like to get round to trying Indigenous, but it goes back to: I need to learn what the heck microsub is and how I can use it - if I can. Not likely to be trying to install it or anything. And then there is the whole WordPress hates micropub thing...
#
GWG
Vanessa, Microsub is for subscribing to feeds
#
GWG
And why do you say it hates Micropub?
[chrisaldrich] joined the channel
#
[chrisaldrich]
[Vanessa] microsub as well as Indigenous, Aperture, Together, et al. are all still in active development. To use them you'll need some additional solid underpinnings which are still evolving within the WordPress arena.
#
[chrisaldrich]
As a result, playing with them may not be an easy or straightforward task. Aperture's website has some reasonable instructions for getting started, but you'll like need to tinker with some code and do some troubleshooting to get things moving. If you're looking for a one-click solution for it all, we're not quite there yet.
#
[Vanessa]
[chrisaldrich] Thanks, that's what I thought. I just don't have the time available, even if I had the skills.
#
GWG
We have someone working on Microsub for WordPress
#
GWG
I am working on rewriting Micropub
#
[Vanessa]
That's what I thought, re micropub. I can never get it to work on WordPress. Sometimes Quill has worked, but the Indiebookclub just said it couldn't authorise, even though WP shows a token. I thought that had been identified as micropub issue, but I could be wrong. My brain is addled after weeks of excessive-for-the-UK heat. Or maybe it's because I use the heat as an excuse to guzzle cold beer. 😇
#
GWG
Vanessa, the most recent update to Indieauth fixed the 401 error for many
#
GWG
We continue to iterate
#
[Vanessa]
I would love to have my own feed reader, where I can read stuff and save things I really like on my site somewhere. Not that I need it, as I have Pinboard, Pocket, Newsblur etc...
[eddie] joined the channel
#
[chrisaldrich]
For microsub and those readers, you'll ideally want IndieAuth and Micropub working solidly. Some WP sites (and hosts) can cause issues with one or both.
#
[chrisaldrich]
Better readers are certainly the holy grail, but it takes some time to forge them, round off the sharp edges, and polish them... 😉
#
GWG
Vanessa, someone made a Newsblur to Microsub gateway that might interest you
#
[Vanessa]
Ah, ok, only just picked up that update. I'll play with it tomorrow maybe - or later, if I can't sleep! I'd like to use the Indiebookclub on my site, that would be really neat.
#
[Vanessa]
I am using SemPress on WP and hosting from Dreamhost. Mostly things are working ok,.
#
[Vanessa]
Ooh, that sounds interesting....
#
GWG
I have building a Pinboard replacement into my site on my list
#
GWG
I have been waiting for 4 years for things to get to where they are. We are so close
#
[Vanessa]
Yes, much as I like Pinboard & appreciate the service, it's only one guy & he can be a bit grumpy!
#
GWG
Vanessa, I sympathize with him
#
GWG
I understand how hard it is sometimes to be a one man show
#
GWG
By the way, chrisaldrich, pfefferle seems to be releasing follow for Semantic Linkbacks
#
GWG
Vanessa, what is your dream setup for your website in terms of capability?
#
[Vanessa]
Oh, don't think I don't appreciate, or I underestimate the effort that has gone into all this. And hey, if I've been able to do what I have so far, that kind of proves that this is very nearly usable by almost anyone. Almost to: get WordPress, use one of a few themes, turn it all on & it works. Not quite plug 'n' play, but it's damn close. I'm planning on testing it all out on my brother at some point... 😇
#
GWG
Vanessa, I was thinking professionally, not in this community
#
[Vanessa]
I can understand how hard it must be to be a one man show. Huge responsibility & that creates masses of pressure - or it would for me!
#
GWG
I sometimes feel like I am a one man show despite working for a large company
#
GWG
I like in the community I can get things done without fighting with people who want to do nothing to make things better
#
GWG
The worst I get is driving snarfed and pfefferle crazy with pull requests
[pfefferle] joined the channel
#
[pfefferle]
btw. i have a pull request for you!
#
GWG
I approved it
#
[Vanessa]
I'm still not sure about my dream setup, but I have a few things in mind.
#
GWG
From my phone
#
[Vanessa]
I have comments & webmentions. My site is used for micro.blog posts. I have set up my "read" posts to be excluded from my rss feed - for now - & they go to a seperate menu. My next aim is to get those across via Indiebookclub.
#
[Vanessa]
I know this sounds odd, but I have another blog, which I'd quite like to keep as it is, but I'd rather like its posts to be archived/copied to my WordPress site.
#
[Vanessa]
I would kind of like to be able to record conversations I get involved in. In the same way as when, if people reply to me on micro.blog, their replies appear as comments, I'd like to have the same when I reply to their posts. Although that might be naughty, as it effectively means stealing their original post, too. I'm kind of trying to gather a lot of stuff together, but it still needs more thought...
#
[Vanessa]
I'm not fussed on checkins/likes and stuff.
#
GWG
Vanessa, that is doable with webmentions
#
[Vanessa]
I know that large company feeling! I work for one of the UK's largest outsourcing companies and in recent years their director-level focus has been on reducing costs, harmonising processes, turning staff into robots who are timed to the second on each task & generally just pissing people off. My department had some of the best performance figures in our division. Now we don't, because of their "efficiency" changes. Their metrics prove th
#
[Vanessa]
efficient (of course), yet we now have poor performance results & managers, like me, are so overstretched & stressed we want to leave. But we won't, because we care for our staff.
#
[Vanessa]
Ah, I wondered if it might be, if I did a proper webmention rather than just replying directly on micro.blog. Not sure how it would end up in micro.blog. Maybe I'll have to try it out... Some time. Hoping to finalise the sale of my late parents' property this coming week. After that I hope to have more time as I won't be trying to keep an eye on two houses!
#
GWG
I would like to integrate better with micro.blog as a great gateway drug to the Indieweb
#
[Vanessa]
Absolutely - it's waiting there to tempt people. It worked with me, after all!
#
[Vanessa]
Still getting the 401 unauthorised from Indiebookclub. ☹ Indieauth tokens seem to be issued - shows up in my admin, but nothing else.
#
GWG
The error comes from Micropub. Will have better errors in the next version
#
[Vanessa]
Ah, ok. I think. 😀 Better errors makes a change from different errors. Don't even get me started on "enhancements" to software that breaks some core functionality. Enough of that in the day job. And I'll bid you all good night for now, as my eyes will need matchsticks shortly.
#
GWG
Better errors mean we could figure out why it doesn't work for some
snarfed joined the channel
#
GWG
Hi snarfed
#
GWG
snarfed, have you been following Microsub for WordPress?
#
snarfed
GWG: huh no. link?
#
Loqi
[jackjamieson2] yarns-microsub-server: Early stages of a microsub server plugin for WordPress. In very early development
#
GWG
He was at IWS
#
snarfed
ahhh right
#
GWG
Nowhere near done.
#
GWG
But exciting
tantek__ joined the channel
#
snarfed
hey GWG i'm looking at the media endpoint
#
GWG
snarfed: Any questions I can answer?
#
snarfed
does a request need both create and media scopes? or either one?
#
GWG
Either one
#
snarfed
ahh ok
#
GWG
Not all clients support media.
#
aaronpk
cool! does this add the file to wordpress' media library?
#
snarfed
GWG: do you want comments here, in github, or both?
#
GWG
snarfed: Dealer's choice.
#
GWG
Probably in the PR
#
GWG
aaronpk: Yes
#
Loqi
[dshanske] #136 Create Media Endpoint
#
GWG
If you want to follow along
#
snarfed
GWG: do you expect this will replace the existing file upload code?
#
GWG
snarfed: Not yet
#
snarfed
sure, but eventually? or will it continue to support both?
#
GWG
snarfed: Eventually yes
#
GWG
snarfed: But initially, I wrote it as a standalone endpoint.
[jgmac1106] joined the channel
#
snarfed
GWG: ok! then we don't need to unify any duplication. mind adding a TODO to delete the existing code? eg default_file_handler() in class-micropub-endpoint.php. we should plan to do that before the 2.0 release
#
GWG
snarfed: Already planned
#
GWG
But will do right now
#
snarfed
i like to add TODOs immediately with whatever change motivates them
#
snarfed
thanks!
#
snarfed
(so i/we don't forget)
#
GWG
snarfed: Done.
[chrisaldrich] joined the channel
#
[chrisaldrich]
When researching wordpress plugins, I've never liked the primary repo's presentation or their lack of filtering. This fancy tool seems to add a lot of what I've always wanted: https://www.wpinsights.io/plugins/
#
snarfed
thanks!
matpacker joined the channel
#
GWG
snarfed, my goal again is for everything to look as simple as the Media Endpoint
#
[jgmac1106]
Need to figure out my syndication with images, through Bridgy and/or Snap and Indigenous. Need photo posts to be featured images
#
tantek__
why do you "Need photo posts to be featured images"?
#
[jgmac1106]
Need to play with the different IndieWeb themes, some syndicate body images but most do better with the featured image. I just added a page builder so will take some hacking around
[dougbeal] joined the channel
#
[jgmac1106]
But mainly if I send an image through Indigenous to my blog syndicating to Twitter it doesn't show on Twitter
#
[jgmac1106]
And on jgregorymcverry.com/photo you get a Grey default if image isn't feature
#
[jgmac1106]
I should be able to build filter to fix... But time
#
snarfed
GWG: heh. the media endpoint is a lot of new code! totally reasonable, probably not over complicated...not not jumping out as simple either, exactly.
#
snarfed
which is ok!
#
GWG
snarfed: But I wrote unit tests!
#
Loqi
it is probable
#
[chrisaldrich]
tantek__, keep in mind that [jgmac1106] may mean WordPress's "featured image" and not necessarily u-featured...
#
GWG
[chrisaldrich]: u-featured derives from features like WordPress's featured image and similar concepts
#
GWG
snarfed: I'm just saying I really like the way it turned out and would like more things like it
#
snarfed
great! i'm glad
#
[chrisaldrich]
GWG, I'm aware, but relatively few themes actually mark them up that way... and there's a collision of the two vocabularies since they're not a 1-1 mapping (yet...)
#
[jgmac1106]
[tantek] definitely mean WordPress featured image... But in terms of a Micropub client should it be difference between u-featured and WP featured
#
[chrisaldrich]
But the question of "what problem are you trying to solve" is always a good one. /wwtd
#
GWG
[chrisaldrich]: It helps when tantek__ is telling you what he would do.
#
[chrisaldrich]
Not sure who invented it here, but I like the use of the "slash tag" in chat linking to the wiki pages.
#
[chrisaldrich]
wishes it worked for those in Slack though.
#
aaronpk
it should
#
aaronpk
the gateway should be translating those to slack links
#
[chrisaldrich]
I thought it did too, but it doesn't seem to now for some reason. /Why ? I don't know.
#
[chrisaldrich]
Yes, it's definitely not working on the last two...
#
aaronpk
ahh it only does it from IRC to Slack
#
aaronpk
of course, cause I can't change what you say from slack
#
[jgmac1106]
Honestly things working so well, especially if I update from WP editor. Indigenous is awesome. I would never expect perfection... Especially with WordPress
matpacker and [kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
Still getting this error trying to use the Micropub and IndieAuth plugins - "{"error":"parameter_absent","error_description":"Missing Parameter: redirect_uri"}" even though there's a redirect URI. Anything I can do to try and fix it? Have already tried reinstalling plugins and making sure they're up to date.
#
GWG
Odd
#
dougbeal
So if I had a github bridgy state backfeed for an issue, how would I display it?
#
dougbeal
Its like another comment section
#
dougbeal
But I would probably want the last state change to show up when listing a bunch of posts
snarfed joined the channel
#
dougbeal
Is there anyway to go fullscreen with the editor in wordpress?
snarfed joined the channel