#wordpress 2019-01-23

2019-01-23 UTC
[asuh] joined the channel
#
aaronpk
which is only partially my fault. i suppose i could be better about recognizing which object on that page with the url of the webmention source I parse, but there shouldn't be two objects with the same URL on the page to begin with so i'm not super inclined to fix my parsing
#
[asuh]
aaronpk: is there an author page for that site?
#
aaronpk
presumably the home page? https://mrkapowski.com/
#
Loqi
Chris McLeod
[tantek] joined the channel
#
[asuh]
That card looks custom, outside of being a standard WordPress widget. Without inspecting the PHP, it looks like it could be a mistaken include or hook of some kind
[cleverdevil], [davidmead], [schmarty], [kevinmarks], [tantek], ben_thatmustbeme, [eddie], [grantcodes], [asuh], [Vincent], [Rose] and [jgmac1106] joined the channel
#
[jgmac1106]
@gwg did 2016-IndieWeb make it into WP.org yet? I will have time to record videos on Thursday if it did
#
[jgmac1106]
and here I thought https://mrkapowski.com/2019/01/6499.html would be a schmarty Bayside link
#
Loqi
Chris McLeod
jeremych_, [Rose] and [voss] joined the channel
#
[jgmac1106]
anyone know where to switch post types in the new editor?
[kevinmarks] and [pfefferle] joined the channel
#
[pfefferle]
Post types or post kinds?
#
[jgmac1106]
post types, re-recording all my wordpress.com tutorials for new block editor and could not find menu anywhere
#
GWG
I didn't submit yet.
#
GWG
I decided to have a second theme converted first
#
[jgmac1106]
sweet, don't want to make your videos until that is done, otherwise just need to redo them
#
GWG
I am a bit worried about a theme submission. pfefferle said it was a pain
#
GWG
If I remember correctly
[grantcodes] joined the channel
#
[grantcodes]
I think post types are still there in the sidebar aren't they?
#
[jgmac1106]
doesn't matter I can't use bridgy to send webmentions between wordpress.com and Known or wordpress.com to wordpress.cm...going to try Blogger and see what happens..Medium has good mf2 but no source code view to add "u-in-reply-to"
#
GWG
Can you install plugins now on wp.com?
#
[grantcodes]
GWG: You can
#
[grantcodes]
I'm not sure of the requirements though
#
[grantcodes]
You might have to be paying more money
#
[grantcodes]
Or it's only a limited list of plugins
#
GWG
There is always the mf2 feed plugin
#
sknebel
you need a fairly expensive plan for that
#
sknebel
(and at that level you can also install a theme)
#
GWG
okay
#
GWG
Seems expensive
#
[grantcodes]
I also had a thought about making mf2 compatible gutenberg blocks. It would effectively be a replacement for post kinds. Will need to note it down somewhere
#
GWG
I thought about it too.
#
GWG
There's a project on my list to abstract parts of Post Kinds to allow for multiple UIs
[svandragt] joined the channel
#
[jgmac1106]
I tried to make the mf2 blocks
#
[jgmac1106]
My problem was the mf2 that lives outside of content. All blocks in Gutenberg inside <content> plus the whole title problem
#
GWG
[jgmac1106]: Post Meta Blocks
#
GWG
But, there are possible ways to do it.
[Vincent] joined the channel
#
[grantcodes]
Yes, the title is the issue with how I thought of it.
#
[grantcodes]
But you can do blocks that only contain certain blocks and require certain child blocks. So you can have a h-event block that has a ui for event stuff. h-entry block would need to be more flexible, with basically a block for the major mf2 properties. But it would involve overriding the majority of the default blocks. And not sure how it would work with micropub. It's a complicated problem
#
[grantcodes]
But outside of IndieWeb I am really enjoying the gutenberg stuff for my professional stuff 🙂
#
[jgmac1106]
Yeah I tried for a day or two but hit limits of my knowledge
#
[jgmac1106]
Ohh yeah recording new tutorials my clients love new block editor, call the classic editor "old and clunky"
#
GWG
I just don't like so much JS
#
GWG
But I will survive and adapt
#
[grantcodes]
Good thing is though it's only on the backend, not the frontend
[kevinmarks], [jgmac1106], [Rose] and [pfefferle] joined the channel
#
[pfefferle]
Not only the title, but the mix with mf1 and mf2 on different html elements
#
[pfefferle]
If you enable backwards compatibility in the php parser you get a lot of mess
#
[pfefferle]
And a lot of the WordPress themes do support mf1
[asuh] joined the channel
#
[asuh]
Does anyone have an example of a Photo post that was created from OwnYourGram? I was playing around with it earlier and it looks like WordPress stored the correct info but I’m missing something on the front-end but I don’t know what
[schmarty], [jgmac1106] and [asuh] joined the channel
#
[asuh]
!tell [Khurt] his website has a database error and isn’t working as of January 23, 2019
#
Loqi
Ok, I'll tell them that when I see them next
[Khurt] joined the channel
#
[Khurt]
It’s up. Intermittent MySQL fault. Will have to trouble shoot and fine tune.
[eddie] joined the channel
#
[Khurt]
[asuh] Here’s and example: https://islandinthenet.com/2019-01-23-13-30-00/. I don’t use OwnYourGram. I prefer to POSSE manually.
[Rose] joined the channel
#
[Khurt]
Let me know when you are done viewing. I will delete the post.
#
[asuh]
[Khurt] thanks for the example. I was curious how OwnYourGram would work and I skimmed your Instagram and WordPress post you wrote in Dec 2017 for more info
#
[asuh]
OwnYourGram appears to set the photo inside of the Response Properties, in the Post Kinds plugin, as attached media inside the widget. I’m curious how I can get that photo to show up on the post
#
[asuh]
and I think [Khurt]’s observations about how to add the photo to the post as well as meaningful permalink is valid, but definitely something that can be tweaked
#
[Khurt]
[asuh] that’s correct. I wanted the image to appear as a featured image but I think that would require code changes beyond my ability at the moment. The blank post title was fixed by adding site-wide code to functions.php to set post date if it’s left blank.
#
[asuh]
[Khurt] do you have a public example of the post title fix code? I’m curious to see your solution
#
[Khurt]
Yes. Let me find it.
[xavierroy] joined the channel
#
[xavierroy]
I had tweaked some of the keyring importer to get the Instagram settings right. But I still need to do more tweaking
#
[asuh]
[Khurt] thank you!
#
[asuh]
[Khurt]++
#
Loqi
[Khurt] has 1 karma over the last year
#
[Khurt]
Hey cool. Karma! Thanks.
[kevinmarks] joined the channel
#
GWG
asuh, let's talk
#
[asuh]
hey GWG
#
GWG
Media attachments in Post Kinds is something I want to improve.
#
[asuh]
ok, that’s good. what you have works in some ways but maybe there could be more flexibility. what are your ideas?
#
GWG
In the fall, I switched from storing metadata about attachments in the post to in the attachment itself.
[voss] joined the channel
#
GWG
Both before and after, the question was do you add the media dynamically or statically by linking in post content?
#
GWG
People weren't consistent
#
GWG
So the code tries to figure out if there is a photo in the content and if there is, doesn't add it, if there isn't, adds it
#
GWG
That needs improvement
#
GWG
Sometimes you end up showing an image twice
#
[asuh]
i think there’s a case to be made that, at least in terms of importing Insta, Flickr, 500px, Smugmug, etc., those photos could go straight into the Featured Photo area?
#
GWG
They do if the featured property is set
#
[asuh]
where is the “featured property” to be set?
[kiai] joined the channel
[jgmac1106] joined the channel
#
GWG
By WordPress rules
#
[Khurt]
And one of the three duplicates it produced.
#
[asuh]
GWG: I don’t follow, are you talking about a Dashboard setting or somewhere in the theme code?
#
[asuh]
[Khurt] that first keyring social importer example is both good and bad. i’m not fond of the title and the URL seems to be importing all the characters and spaces
#
[Khurt]
Yep. I don’t use Keyring Social Importer for Instagram either, [asuh].
#
[asuh]
Each of the importers you discussed are kind of there but I think it’s possible we can get one solution to work better
#
[asuh]
I think we can get Post Kinds to do this better with David’s help since he’s already interested to improve that feature
[eddie] and [tantek] joined the channel
#
GWG
asuh, featured images are stored by WordPress in post meta as _thumbnail_id
#
GWG
I was thinking of storing actual photo ids instead of URLs for the photo property
[asuh] joined the channel
#
[asuh]
Does OwnYourGram treat Insta posts with multiple photos as one image per post? I guess I could test this myself but curious if anyone else has already done this.
#
[asuh]
In that sense, using the Insta photo as a Featured Image could complicate how to import these photos into WordPress
#
[asuh]
which, if my thinking is right, goes into what GWG says about storing actual photo ids instead of URLs, i think
[Rose], [cleverdevil], [schmarty], jmc and [tantek] joined the channel; jmc left the channel
#
aaronpk
instagram posts with multiple photos are considered a single post
[schmarty] and [jonathanprozzi] joined the channel