#wordpress 2018-08-15

2018-08-15 UTC
spot, samouy4, Mr_Sheesh, dougbeal, [jgarber], rorx22, zz_ka6sox19, jgmac1106, jgmac1106_, Loki29, [kevinmarks], [jgmac1106], [chrisaldrich], tantek__, berFt22, ollien3, Fusl25, crayon15 and [metbril] joined the channel
#
[metbril]
[aaronpk] I tried Aperture plugin but it fails. Probably because I registered to aperture manually the other day. I think I have 2 accounts (79 and 88) that interfere.
#
[metbril]
When I login to Aperture I see 79, but 88 is advertised in the page meta.
#
[metbril]
[aaronpk] I think this is the reason Monocle is throwing me a 403 error?
[kevinmarks], bungle15 and [jgmac1106] joined the channel
#
aaronpk
[metbril]: ooh tricky. I will see what happened.
#
GWG
jgmac1106: Did you embed it and put it in the URL box? If so, it would.
#
jgmac1106
no just used media embed not response properties
#
GWG
In the next version, I have an idea about that.
#
GWG
It's the same problem we had with photos. If you embed it in multiple places, sometimes it shows up that way. I'll fiddle with it.
#
GWG
For photos, I wrote code to check for the shortcode and not try to autoembed if it found it
#
GWG
jgmac1106: Would you be able to test the dev version of Micropub?
#
GWG
I'm hoping to release it and want some beta usage first.
#
jgmac1106
on my sched today
#
GWG
Thanks.
#
jgmac1106
github repo link? and is it tjhe media endpoint you want done the most?
#
GWG
It's not urgent, but I want to put that to bed so I can look at something else for a while.
#
GWG
jgmac1106: There were a lot of changes in the main endpoint as well.
#
GWG
So, basically, create a post, with and without media.
#
GWG
See if you have any issues with authorization with or without the IndieAuth plugin
#
jgmac1106
okay on it,
#
GWG
Next up is Post Kinds
#
GWG
I know people have a lot of things in that they are looking for me to do.
[metbril] joined the channel
#
[metbril]
[aaronpk] revoking indieauth tokens did not make a difference. When I sign in at Aperture service I see the subscriptions from 79. It's visible in the Get Started section of the dashboard. Monocle throws a 403 error for microsub/88.
#
aaronpk
When I get back to my computer I'll look at the database. I need to find out why you have two acccounts. I'm guessing it has something to do with the /profile/username path that wordpress uses for people.
#
[metbril]
Ok. Please @ mention me when you have more info.
jgmac1106 and MetBril joined the channel
#
MetBril
Is it possible/necessary/required to link my Slack and IRC personas?
#
jeremycherfas
Many people find that being on Slack and IRC at the same time creates difficulties.
#
MetBril
I am trying both, but can't see any advantage in Slack. The GUI is nicer, but an IRC client is working faster.
#
aaronpk
Personal preference really
#
MetBril
I'm currently using the webchat, but am trying (without success yet) to login to Mutter for iOS.
#
aaronpk
Most people find slack better for mobile
#
MetBril
This should actually be in #indieweb channel, but how does IRC vs Slack relate to a nick at https://indieweb.org/chat-names
#
aaronpk
It treats them the same from both, it isn't really an "account" or anything
#
aaronpk
As long as you have the same nickname in both you'll appear the same in the logs
#
MetBril
OK. Thats fine with me.
[tantek] and [kevinmarks] joined the channel
#
aaronpk
aha yep that's what i thought...
#
aaronpk
the aperture account created by the plugin is https://robertvanbregt.nl/wp/
#
aaronpk
if you enter that in monocle when you sign in it should work
#
aaronpk
the question for GWG is why did wordpress think that is the URL for the user?
#
MetBril
WordPress isn't installed in the root.
#
aaronpk
that explains it then
#
MetBril
It's installed in /wp, but served from /
#
MetBril
You have 2 values in the settings.
#
aaronpk
so site_url() is returning the installed path apparently
#
MetBril
I guess
#
MetBril
the site url for me is https://robertvanbregt.nl
#
MetBril
Thats copy/paste from the settigns
#
aaronpk
Weird, the function apparently returned the one with the path
[kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
Good morning, IndieWeb! Is there a good plug-in that would let me bulk edit posts to assign post kinds the same way I can do categories? I've not been successful finding one that will do what I want. Specifically, I have several tweets I imported using Designwrks Twitter Importer that I marked as notes that I want to switch to replies.
#
MetBril
Perhaps you need home_url()
#
MetBril
home_url: "Retrieves the URL for the current site where the front end is accessible."
[jgmac1106] joined the channel
#
petermolnar
[kimberlyhirsh]: that sounds like an SQL query
#
aaronpk
What I really need is the same url that the IndieAuth plugin uses
#
[kimberlyhirsh]
Wait no. I didn't read that carefully. I don't think that's what I want at all.
#
MetBril
Looking at the search results, my guess is `home_url`
#
jgmac1106
[kimberlyhirsh] you have to remember post kinds use taxonomies and archives not post types
#
petermolnar
that's different
#
jgmac1106
but yeah I think it might be something at the database level…and by the time you find, learn and deploy “manual till it hurts” might just be faster
#
MetBril
aaronpk: Logging into Monocle with https://robertvanbregt.nl/me lets me login, but that throws a 401
#
MetBril
aaronpk: That should be https://robertvanbregt.nl/wp (typo)
#
MetBril
What is loqi doing with my site?
#
Loqi
It looks like we don't have a page for "loqi doing with my site" yet. Would you like to create it? (Or just say "loqi doing with my site is ____", a sentence describing the term)
#
aaronpk
That /wp url redirects to a post apparently
#
aaronpk
well if you want to change site_url to home_url in the aperture plugin to test I'd appreciate it.
#
MetBril
Yes, it does link to a post. Some weird redirection, i guess.
#
aaronpk
I'm gonna be on a plane for the next six hours but I can publish a plugin update after I land if that fixes it
#
[kimberlyhirsh]
[jgmac1106] Yeah, I had been planning to manual until it hurts, but just thought I'd check before digging in.
#
MetBril
If you provide me with a zip (or link to download from github) I will replace the official one with your dev version.
#
MetBril
Not sure how you can ping me best. If you have slack, send me a DM. Or DM me on Twitter.
#
MetBril
Only read your post now. I will change the code myself and test.
#
MetBril
And then ping you.
#
aaronpk
Not on computer right now sorry. Just need to change the one line
#
MetBril
Will do.
MetBril left the channel
#
jeremycherfas
!tell [kimberlyhirsh] I use Admin Columns Pro, but I think you need to pay up for inline editing.
#
Loqi
Ok, I'll tell them that when I see them next
Our, [jgmac1106] and [metbril] joined the channel
#
[metbril]
[aaronpk] Replacing `site_url` with `home_url` in the Aperture plugin solved the issue. My site is now advertising my `/79` subscription and I can login to Monocle perfectly. So far so good.
#
[metbril]
You can delete the `/88` subscription with Aperture.
[kevinmarks], dougbeal|iOS, jackjamieson and [grantcodes] joined the channel
#
GWG
I always use home url
bungle8, tantek__, [schmarty], jackjamieson, [eddie], [jgmac1106], [iambismark], Phanes24, [kevinmarks], [grantcodes], KDDLB and lmartin9218 joined the channel
#
aaronpk
[metbril]: yay! I will publish a fix!
#
aaronpk
Thanks for testing that out!
[dgold], Guest76238, [kevinmarks], [cleverdevil] and [metbril] joined the channel
#
[metbril]
@GWG The Micropub plugin seems to use site_url. It exposes my install directory in the link. This looks ugly but more important is bad OPSEC since my install dir is an attack vector.
Guest23693 and HarryCross20 joined the channel
#
GWG
Let me look through the code
icasdri25 and [eddie] joined the channel
#
GWG
!tell [metbril] It isn't in the Micropub endpoint. It is in the IndieAuth endpoint.
#
Loqi
Ok, I'll tell them that when I see them next
bmos8, jgmac1106, [kevinmarks] and jackjamieson joined the channel
#
GWG
jackjamieson, how goes the work?
#
jackjamieson
GWG, it's going quite well, thanks!
#
jackjamieson
Some minor parsing issues to work on, but not too many
#
jackjamieson
Other than that I've just got to add support for actions like reordering channels, removing feed items, and maybe a couple others
#
jackjamieson
Hope your work is going well, too! Seems like you made some good progress with the micropub plugin
#
GWG
I will fix your issues
#
jackjamieson
I'm mostly using parse-mf2 from the post kinds plugin, but have made a few minor changes. Dinner time here, so I should actually get offline, but if you have time to chat about the parser sometime in the next few days that'd be great
#
GWG
When is good?
#
Loqi
what
#
jackjamieson
Tomorrow and Friday my schedule is pretty flexible from about 10-6 Eastern Time
#
jackjamieson
Got to run now but if you send me a message I'll try to reply right away
#
GWG
10-12 is good
#
GWG
Excuse me, got the timezones off
#
GWG
Between 5 and 6
#
GWG
No, wrong again
#
GWG
Timezones, feh
#
GWG
Let me think
darkmagic and jgmac1106 joined the channel
#
GWG
Let me try this again
#
GWG
10-6 on Thursday and Friday is 10PM-6AM on Thursday and Friday.
#
GWG
I will definitely be around for the latter one.
#
GWG
Friday night which is his Friday morning