#wordpress 2021-02-03
2021-02-03 UTC
[KevinMarks], [schmarty], beko, [chrisaldrich], [benatwork], [Emma_Humphries] and [pfefferle] joined the channel
# [pfefferle] I had some issues with post-kinds sending webmentions, is this a common issue? or am I doing something wrong? https://github.com/dshanske/indieweb-post-kinds/issues/326
# [pfefferle] I am working on a presentation and I wanted to show the post-kinds plugin, thatโs why I am a bit pushy ๐
# [pfefferle] should prepare my slides earlier ๐
[indieweb653] joined the channel
# [indieweb653] [pfefferle] whatโs the kind of the specific post?
# [pfefferle] i tested it with reply and like
# [indieweb653] I tested locally and there seems to be a problem with nested properties, try adding after the line `$cite = $kind_post->get_cite();` this piece: `$cite = $cite['properties'];`
# [pfefferle] sadly not
# [pfefferle] it seems that the get_cite is empty
# [pfefferle] ok cite is not empty any more
# [pfefferle] but you are right
# [pfefferle] there are a lot of nested properties
# [pfefferle] [indieweb653] it worked!
# [pfefferle] edited the wrong line!
# [pfefferle] you saved my day! thanks a lot!
# [pfefferle] [indieweb653]++
# [pfefferle] made a second merge request!
paul3 joined the channel
[pfefferle] joined the channel
# [pfefferle] I see
[KevinMarks] joined the channel
# [pfefferle] will test it asap
# [pfefferle] thanks [dshanske]
# [pfefferle] seems to work fine! thanks [dshanske]
[schmarty] joined the channel
# [pfefferle] and I felt a bit productive today ๐
beehiveth joined the channel
# [pfefferle] ๐
[Murray] and [tantek] joined the channel
# [pfefferle] btw. simple location and post-types throws a lot of errors/warnings when fresh installed
# [pfefferle] there seems to be something wrong with default settings
# [pfefferle] it disappears when you hit save in the settings areaโฆ at lest for post types
# [pfefferle] and yarns seems to break the complete site if micropub and/or indieauth is not installed?!?
# [pfefferle] I am in debugging mode today ๐
# [pfefferle] ๐
# [pfefferle] but maybe microsub is also something for the friends plugin ([indieweb653] ) ๐
# [pfefferle] I can re-check on a clean system with wp_debug enabled later today
# [pfefferle] but seems to be also a default settings issue
# [pfefferle] I disabled it on my test server for the time beeing
# [pfefferle] yes, had no need so far to do so ๐
# [pfefferle] I am not that personal on my siteโฆ
# [pfefferle] ๐
# [pfefferle] I try to keep personal stuff private
# [pfefferle] notiz.blog is only my semi-professional subset ๐
# [pfefferle] ok, I can think about doing that
# [pfefferle] ok, I also have no problems to post these kind of thingsโฆ they are part of my semi-professional self :)
# [pfefferle] [dshanske] nice!
# GWG [pfefferle]: Soon, stay tuned for /location/DE/Karlsruhe
# GWG How about /location/NY/NYC
[arush] joined the channel
# [arush] Hi all.
[benatwork] joined the channel
# [arush] Re: Simple Location bugs: I'm unable to add location to a post when adding it from the native WP add-new-post screen, but it works fine with Micropub. Not getting any visible errors though. Re: backdating posts and adding historical weather: I haven't played with this yet mostly because I haven't figured out how to do it, but that would be fun. I have a lot of backdated stuff on the site and love adding weather/location to my posts.
# [arush] When I try to add weather/location to posts natively, I can add the data but then unable to publish. Press the button, nothing happens.
# [arush] Publish/update.
# [pfefferle] ah, that was the error! I had something like โno geocodeโ warning when I tried to create a new post
# [arush] Yeah something like that I think, but not sure because host's access and error logs display crashes my screen reader every time. Still trying to get a VPS set up to host indieweb apps plus this WP install to just take WPEngine out of the equasion.
# [arush] They're great for stuff that must stay up and running, like client work. Not so much for experimental stuff. ๐
# [arush] Oh, and Gutenberg work with post kinds is on hold right now until the inability to edit blocks with AT thing is fixed. Currently arguing about that one with the devs so not sure when this will happen.
# [arush] And working on getting new computer set up to do more dev. Hasn't gone as smoothly as it should but I think things are finally settling down and getting straight.
# [arush] @gwg yes using imperial.
# [arush] @gwg also, what are the specifics you want for people to contribute to plugins, other than the obvious needs-to-happen-on-Github. I have some accessibility fixes for some of the screens for post kinds and simple location, but don't want to mess up work flows or anything. So, do we need to use anything like composer ETC. or is there a readme file for contributors?
# [pfefferle] [dshanske] it was a php error/warning
[schmarty] joined the channel
[snarfed], [Ana_Rodrigues] and [Rose] joined the channel
# [arush] @gwg On the settings screens, there are some checkboxes with labels that don't seem to match. For example, on the Simple Location settings screen, under general, THERE'S SOME TEXT THAT SAYS "When Making a New Post, update the Author with Posts Location" BUT IT DOESN'T HAVE AN ASSOCIATED CHECKBOX. The checkbox has a label of "Show Maps on Home and Archive Pages Not Just Single Posts". I think that's supposed to be the second checkbox, but
# [arush] the second one has a label of "Automatically lookup location from supported geolocation provider for Micropub posts" and the third checkbox has a label of "Unit of measure".
# [arush] On post screens, Simple Location has some spinboxes, but it's not clear what values you're editing or how they should be edited. Elevation, for example. It moves by 1, 2, 3, ETC., but obviously that's supposed to reflect unit of measure and so should be moving by some number of feet/meters. I'm assuming some interval, but not sure. Post Kinds kind metabox has some extra ARIA, so the label reads twice. "read read", for example, along with
# [arush] text below each box reading the same thing.
# [arush] So anyway I figured since I use these plugins like mad, I'd fix that kind of stuff and try to leave enough info in comments/commit messages so that if those things are present across the indieweb suite, the fix could be easily copied.
[calumryan] joined the channel
# [arush] @GWG Also, I wanted to ask about the photo post kind, specifically the properties section. If you want to parse a URL, which one is it expecting? File? Attachment? How do you get it to add the location of a photo to the appropriate box, or are we supposed to enter that manually? I'm thinking not file because if you insert a URL to the jpeg you get a message back saying something to the effect that it's not valid/not supported.
# [arush] I suppose a shorter version of that is: What's your workflow for posting photos?
bishop_bautista joined the channel
# [arush] @gwg OK, so in other words the photo is supposed to go in the actual content area, and it's data should be taken from the attachment URL for the properties section.
# [arush] Oh. I didn't see that happen, but then I was updating the post to get it to work and finally landed on add photo to the content area because it needs alt text. Hang on let me try with another new photo.
# [arush] Oh. There's a second attach media button I never saw until now. Doesn't look like it's in the tab order, which would be why I missed it because I always tab through that section.
# [arush] For some reason that added two photos, but I think that's a bug in the media dialog when you're running classic editor. If you exit forms mode at the right spot in the process, the dialog disappears and you have to start over again, but you can't see your previous work. Probably won't get fixed because Gutenberg is taking up all the oxygen.
# [arush] Kind of want to play with iOS shortcuts for photos, but don't want to do that since pname is micropub for alt so will have to wait till that can be put back.
# [arush] name
# [arush] Damn. Can't type. P-name.
# [arush] I'll have to review that. When I was doing some brief googling to try to find something, all I found was p-name for alt. But that could be old info.
# GWG To include alt text along with the image being uploaded, you can use the Microformats 2 syntax to specify both the image URL and alt text for the photo property. Instead of the value being simply a URL, the value is instead an object with two properties: value being the URL and alt being the text.
lahacker joined the channel
# [arush] Thanks for passing this along. Sorry for the delay in response. Jaws took a dive.
jamietanna, [KevinMarks], [benatwork], [tantek], gRegorLove and [arush] joined the channel
# [arush] @gwg yeah I think it does.
[snarfed] joined the channel