Time to #BuildInPublic: #Indieweb -izing my web presence.
I've had johnbeales.com forever.
Fresh new Mastodon account.
Set up rel="me" so my Mastodon link gives me a green check.
Make sure my h-card is set up right.
...?
End goal: own my microblogging, mostly on my own site, while still participating in the fediverse, and not overwhelming longer-form blog posts.
This morning I tried to add a widget to footer of johnbeales.com so I can add the required rel=“me” but I got an “Invalid argument supplied for foreach()" warning in #WordPress's REST widget controller. I can't have warnings!
wp_get_sidebars_widgets() is returning an array of sidebars with null as the list of widgets instead of empty arrays. I thought I might have to open a ticket against core, but my clean WordPress install is returning empty arrays, so either something on johnbeales.com is messing with the wp_get_sidebars_widgets() return values, or I have a bad value stored in the database. Time for some more investigation!
Sometimes #Devlife feels like one step forward & two steps back, but in the end I'll end up with a better site and deeper knowledge of WordPress internals.
Set up rel="me" - I now have a green check for johnbeales.com on Mastodon.
Time to move on to h-card.
Finally set up my h-card, and validated it with indiewebify.me - sort of.
Indiewebify.me wasn't fetching my site, but it's open-source and fairly simple, so I grabbed a copy from Github and installed it, only to find it expected an ancient version of Guzzle.
No problem! Only a couple of places needed to be updated and now there's a PR to indiewebify.me for newer Guzzle: https://github.com/indieweb/indiewebify-me/pull/112
But, on my localhost, I was able to validate my h-card. On to the tricky bit: figuring out the best way to mix short posts and long posts, and make them Activitypub-Ized and Webmentionable.