#wordpress 2022-05-12

2022-05-12 UTC
reed, fncll, lkhrs[m], cambridgeport90[, angelo, jsbach, [sebsel] and [Will_Monroe] joined the channel
#
[Will_Monroe]
[chrisaldrich] re Slippy, I will look forward to seeing how you might use this. How would a WordPress-based and presumably public Zettelkasten differ from the one that you might maintain in Obsidian?
[kaichanvong], [Joe_Crawford], fef and [schmarty] joined the channel
#
[Chris_Lott]
Is it possible to use WP to POSSE to Mastodon (and Twitter) as a photo post? I created a post (https://fncll.org/blog/2022/breakfast-beignets-with-casey/) using the Photo post kind which has an image, but when syndicated via brid.gy it just shows the caption in both sites. I can’t test with the same post using brid.gy’s manual twitter interface, and Mastodon is down, but when I tested the manual flickr interface it repo
#
[Chris_Lott]
“_Could not find content in h-entry or any other element!”_ Do I need to manually classes to the HTML?
#
Loqi
[Chris Lott] Birthday Breakfast Beignets with Bitty Byrnehttps://fncll.org/blog/2022/breakfast-beignets-with-casey/
shaunsc joined the channel
#
shaunsc
Where can I find a copy/paste solution for all core blocks? I'd like to plop them into a post as a style guide.
[sebsel], chrisaldrich and [jeremycherfas] joined the channel
#
[snarfed]
[Chris_Lott] yup, your HTML need the u-photo class. check out https://brid.gy/about#picture and https://indieweb.org/photo#How_to_markup
chrisaldrich1 joined the channel
#
[Chris_Lott]
Ahh, I completely scrolled past that part. As a new user to IndieWeb with WP, it’s hard to remember that the choice of Kind doesn’t have much (anything?) to do with the “outgoing” content markup or anything. My thinking, again as a newbie, was: if I select the right kind, then the system will know what to do with it.
#
[Chris_Lott]
It worked! One other question, and this may be related to issues with brid.gy publishing to Mastodon: at the bottom of my better WP post that syndicated correctly (https://fncll.org/blog/2022/bday-beignets-with-bitty/), there are “syndication links” — one of them is a generic globe icon that shows a “website” tooltip, but it should be the mastodon icon? The link to the Mastodon toot is correct, so not a big issue,
#
[Chris_Lott]
that a setting on my side?
#
Loqi
[Chris Lott] Birthday Breakfast Beignets with Bitty Byrnehttps://fncll.org/blog/2022/bday-beignets-with-bitty/
#
[snarfed]
[Chris_Lott] iirc the wordpress plugin chooses those icons based on domain, which is obviously much harder with Mastodon. it could regularly fetch a list of instances, or fetch the syndicated post and sniff it, but it doesn't yet, and that'd probably be low priority
#
GWG
There's a single mastodon URL setting in the plugin
#
[KevinMarks]
Could it use the favicon?
[benatwork] joined the channel
#
[Chris_Lott]
I must be blind because I see no such setting. In which plugin’s settings area should I be looking?
#
[Chris_Lott]
Oh, so it could be something that the mastodon server isn’t providing that is returning genericness?
#
GWG
It's been a while, I thought it was in the user's profile. But I can look.
#
GWG
I'll be at my desk in a little while and can check the code.
#
GWG
I may be thinking of the rel me functionality in the Indieweb plugin... similar code
#
[Chris_Lott]
[chrisaldrich] might know, since the non-generic icon and tooltip appear on his site
#
[chrisaldrich]
[Chris_Lott] I _think_ it's because mastodon.social is explicitly supported in the syndication links plugin as a URL that maps to the Mastodon icon. If you're on one of the thousands of other instances, it needs to know and specifically map that instance to the right icon. I'd suspect you could add it with some custom code, or GWG could add it in the next update. Maybe here?
#
GWG
Not there
#
GWG
Searching the code, I did it in the Indieweb plugin... I think I could tap into that