#wordpress 2019-03-20

2019-03-20 UTC
[kevinmarks] and [jgmac1106] joined the channel
#
[tantek]
Hey GWG, do you know if your plugins work with the built in Wordpress support for multiple resolutions to do multiresolution photo posts?
#
GWG
They should
#
[tantek]
And if so, how are you marking up the mf2 on those posts?
#
[tantek]
Got any examples?
#
GWG
Well, I think only with the u-photo. But the problem is there are 5 different ways to do photos
#
GWG
I have this gigantic problem with it
#
GWG
So, you can insert a URL photo into the content block
#
GWG
You can add a photo as a featured image.
#
GWG
Or you can attach photos to a post.
#
GWG
It gets confusing.
[chrisaldrich], gRegorLove_, [eddie] and [tantek] joined the channel
#
[tantek]
Got test cases for each?
#
GWG
Test cases?
#
GWG
Trying to figure out a better way to address is on my list.
#
GWG
So much to do
[jgmac1106] joined the channel
#
[jgmac1106]
my random thoghts as I am workign way too late: url in content block is just image, photo attached to post is u-photo bc post is about that(those) photo(s)-u-photo already syndicates, if it a featured img u-featured, but I could be wrong about the u-featured, on syndication I do believe the featured image gets treated as a u-photo and the syndication behavior is the same.
#
GWG
[jgmac1106]: The issue is accounting for every way that people doing it when using the system.
#
[jgmac1106]
or you can focus on doing it proper and I will help write the tutorials to teach the people...I just wouldn't be the person to ask what is proper
#
[jgmac1106]
You do see some weird title behavior for syndication. Even I mess up photo posts in Known because I know only the title syndicates to Twitter not content
#
GWG
The other problem is that anything in the wordpress gallery can only be associated with one post by default
#
[jgmac1106]
then just ignore the gallery for now
#
[jgmac1106]
if people want an IndieWeb photos collection post kind they can make a plug-in. It can't all fall on you...
[aaronpk], [tantek], jamietanna and [Rose] joined the channel
#
[Rose]
Hmm, my slugs don't match, grr.
[pfefferle] joined the channel
#
[Rose]
Hmm, importing all my posts is not working nicely. Around 40% don't get imported
[kevinmarks] and [jgmac1106] joined the channel
#
GWG
[Rose]: Any clues?
#
[Rose]
No, none.
#
[Rose]
It's most puzzling.
#
[Rose]
If I can get my "micro" posts to upload then I think I'll do the other ones manually, it's only a hundred or so - I can live with that.
#
GWG
https://core.trac.wordpress.org/ticket/36669#comment:19 - We can't even update a simple dependency. Feh
[grantcodes] joined the channel
#
GWG
This is why I get frustrated with WordPress core development
#
[Rose]
Now I just have to figure out if I want to handle empty titles in notes with say for example using the date, and if so how to do that
#
GWG
This is a subject of some debate
#
GWG
What should the slug be?
#
GWG
Empty titles are correct technically on notes but some people like them
#
[Rose]
I decided with Grav that my slugs would be date/time if there was no title. So I'd like to maintain that
#
GWG
[Rose]: I think we can swing that
#
GWG
For now, send in mp-slug
#
GWG
But will see about auto setting
#
[jgmac1106]
As someone who tried to migrate his blog and write redirects... I sow wished I used dates in my slug
#
GWG
Not sure if it belongs in Micropub though
#
[Rose]
mp-slug, aha. I need to wipe this install and start over anyway I think, lots of incorrectly created posts.
#
[jgmac1106]
I no some people grab the first few set of words and display that for titleless post and then use post ID number in slug
#
petermolnar
ah, simplepie. the part of WP I sent a one line patch of $x = trim($x) literally ages ago
#
petermolnar
still not merged or even looked at
#
[Rose]
is getting closer and closer
#
petermolnar
btw I tried some of the events/booking managers in WP, dear god, the amount of spam those receive o.O
#
petermolnar
(this is offtopic though)
#
[Rose]
WordPress is ontopic though
#
petermolnar
the short summary is that I could migrate a site off from Wix to WP - except the booking system. Interestingly enough, Wix has an Event and a separate Booking/Appointment system, and this latter is rather unique. It has the notion of courses/classes, staff, spaces, and 2 way syncs with Google Calendar. I've been trying to find a replacement via the WP ecosystem, no luck so far, and the ones I tried are insanely spam prone.
[stefp] joined the channel
#
[Rose]
Slugs are now working as expected, I ought to read the specs more thoroughly
#
GWG
Post ID is the default slug if no title is set.
#
GWG
So, we could write code to set it to something else on default
#
GWG
A little 5 line plugin
#
[Rose]
Handy to know, I'll make sure to use Shortcuts as my MicroPub client for the time being for now as that's an easy way to set the slug.
#
GWG
I always consider it as I don't like the post id as the final part of the slug, but what?
#
[Rose]
I mean, the date does make sense in general.
#
GWG
What is slug?
#
Loqi
A slug is a series of words in a permalink URL, usually at the end, that are from or representative of the name or text of a post, and thus part of an overall URL design https://indieweb.org/slug
#
GWG
The standard WP url is /year/month/day/slug
#
GWG
It is the last part
#
GWG
So, I already have the date in the permalink
#
[Rose]
Hmm, I always change WordPress to use categories in the default URL instead
#
GWG
It is within the day
#
GWG
Okay
#
[Rose]
Mostly because if I go back and change the post and date then the URL would need redirecting.
#
GWG
I rarely use categories in posts
#
GWG
But good point
#
GWG
Why do you change the date so much?
#
[Rose]
I rarely do. But there's also the automatic "this was posted a year ago so it's out of date" mental connection I prefer to avoid.
#
[Rose]
Argh, 1 post didn't import, 1.
#
GWG
Okay.
#
[Rose]
Also I then have feeds for my regular blog vs my personal stuff, etc.
#
[Rose]
Which are logical when people look at the feed urls compared to the browser ones
[aaronpk], [kevinmarks] and [kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
I'm using InoReader & trying to get custom sharing going with Post Kinds URLs. But when I use the URL variables I get a weird editor window that only has a title box and a response properties box but nothing else, and the response properties box only has the "response properties" title and no content. Before I file this as an issue, any thoughts on what might be going on here? Here's an example URL I might give Inoreader, where [UR
#
[kimberlyhirsh]
If I do it with just kind=reply without trying to use the Inoreader URL, it's a normal editor with reply selected and a blank response properties box as you'd expect.
#
[kimberlyhirsh]
If I type the URL in the browser bar manually and replace the [URL] variable with the URL of the thing I'm trying to reply to, I get the weird editor again.
#
[kimberlyhirsh]
All of this is in Chrome; about to go try Firefox and see what happens.
[grantcodes] joined the channel
#
[kimberlyhirsh]
Same thing happens in Firefox.
#
[kimberlyhirsh]
If I do it with only kindurl and not kind, I get the same thing.
[frank] joined the channel
#
[frank]
[kimberlyhirsh] I'll go see if I get the same thing with Inoreader. brb.
#
[kimberlyhirsh]
Worth noting I'm getting the same outcome whether I go through Inoreader or directly through the browser.
#
[frank]
This is weird. My browser keeps redirecting me to wp-login.php from the URL.
#
[frank]
But I am logged in
#
[kimberlyhirsh]
Yeah, first it did that to me but eventually I got it to stop doing that. Don't know what I did, logged in through the redirect with "Remember me" a couple times and eventually it seemed to take.
#
[kimberlyhirsh]
Trying deactivating a bunch of plugins to see if it makes a difference...
#
[kimberlyhirsh]
Didn't seem to.
[cowglow] joined the channel
#
[frank]
Same here. Do you use the Gutenberg editor? Maybe it has something to do with the changes in that?
#
[kimberlyhirsh]
I have a plugin that lets me use the Classic Editor.
#
[kimberlyhirsh]
But I suppose it might be related to that, since I'm using the most recent version of WordPress.
#
[frank]
I'm sorry I can't be of any more help
#
[kimberlyhirsh]
No worries. Thanks for trying! It's not breaking my site or anything. Just an obstacle to owning my replies etc.
#
[kimberlyhirsh]
Because right now it's a bit labor intensive to copy & paste everything manually, which means I just reply to fewer things than I would otherwise.
#
[frank]
Maybe the Quill bookmarklet or Omnibear is of use for you?
#
GWG
File the issue
#
[frank]
Quill can be found on http://quill.p3k.io/
#
GWG
I haven't tested the kindurl variable in WP5.0 yet
#
GWG
I am always happy to fix things
#
GWG
Especially if I broke them
#
[kimberlyhirsh]
Still working on making Micropub happen with my host, so for now I'll just file the issue and keep doing things manually.
#
[kimberlyhirsh]
Looking at the issues I see something similar happened with indiebookclub as of June 2018, but I didn't even get the full response properties box.
[tantek], [grantcodes] and [chrisaldrich] joined the channel
#
[chrisaldrich]
I've seen [frank]'s issue of redirect to login because of an issue relating to switching between http vs https before.
#
[kimberlyhirsh]
Yep, I figure that was my problem.
#
[kimberlyhirsh]
I just switched to https a couple days ago.
#
[chrisaldrich]
In your admin, check that you have https set in settings >> general for WordPress address and site address...
#
[kimberlyhirsh]
I did that before I ran into this problem.
#
[kimberlyhirsh]
Did it yesterday maybe? And had the problem today?
#
[kimberlyhirsh]
Then I think it's possible the URL I was feeding Inoreader I forgot to put the s in.
#
[kimberlyhirsh]
So maybe that's what fixed it? Can't remember now.
#
[chrisaldrich]
I set up kinds with inoreader in the past but haven't used it much recently. I'll try to test later this morning when I get to the office.
[jgmac1106], jackjamieson, [kevinmarks], dougbeal|mb1 and [kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
Yaaaay just worked with my host to get IndieAuth/Micropub working on my WordPress install (after delaying for months because I'd have to go through a Live Chat instead of supporting a ticket).
chrisaldrich joined the channel
#
chrisaldrich
[kimberlyhirsh] I'm not seeing the same issue on my end with Post Kinds, but this may also give a clue as to potential issues as GWG knows I'm still running the older version from pre-Summit 2018.
gRegorLove_ and jackjamieson joined the channel
#
jackjamieson
[frank] I agree with [chrisaldrich] that it might be an https/http issue. I had the same problem for a long time. IIRC the solution was to edit my .htaccess to always use https
#
chrisaldrich
jackjamieson, sorry I haven't gotten back to you about your email yet. I'm totally in. I'm just finishing up some work on a class and have a monkey on spring break this week, but will get back to you shortly.
#
chrisaldrich
Let me know if you're in any sort of rush and I'm happy to help facilitate that if necessary.
#
jackjamieson
chrisaldrich Great! And thanks! I'm not in a big rush so take your time
#
GWG
Hi all
#
GWG
On a break
#
GWG
See some things worked out
#
GWG
The kindurl issue sounds like my problem to fix
#
GWG
Hi, jackjamieson
#
jackjamieson
Hi GWG, how are you?
#
GWG
Busy busy busy
#
GWG
I have some bug fixes to do
#
GWG
Then starting work on a project to improve Webmentions
#
GWG
Likely pausing for more bug fixes
#
GWG
The webmention thing is a multipronged migration and update project
#
GWG
Wouldn't mind more eyes on phase 1
#
jackjamieson
GWG Sounds good - I'd like to take a look at webmentions if it could be helpful. I don't know the plugin code very well but it can't hurt
#
GWG
That is not the question we are looking at first
jackjamieson joined the channel
#
GWG
Changing the data format
#
jackjamieson
I'll take a read tonight
#
jackjamieson
Got a meeting now, but I'll be back later
#
GWG
Okay. Me too
[eddie], jackjamieson, mattl, [davidmead], [tantek], jackjami_, [Rose], [schmarty], gRegorLove_, [kevinmarks], [jgmac1106] and [pfefferle] joined the channel
#
[pfefferle]
Moinsen [chrisbergr]
#
GWG
[pfefferle]: Hello
#
Loqi
[dshanske] #108 Cache Busting
dougbeal|mb1 joined the channel
#
[pfefferle]
Is it added to the_content?
[schmarty] and [aaronpk] joined the channel
#
GWG
No, it isn't
#
GWG
Regrettably no
[jgmac1106] joined the channel
#
[pfefferle]
Only metadata?
#
GWG
Correct
#
GWG
I add it in afterward
#
GWG
Because it doesn't need to be seen
#
GWG
It's just the webmention target
#
GWG
For Webmention syndication
#
GWG
I thought about triggering edit_post
#
GWG
But who knows what do_action edit_post might do
[kevinmarks] joined the channel