I don't use WordPress' embeds (or oEmbed in general).
I did at one time, however, fetch outgoing links, parse things like Open Graph tags, and store (part of) the outcome as custom fields, which I'd then use in my own "template."
Even though it's basically broken even on my current site, it's small things like this that keep me from moving (to a proper WP theme). There's a few more, too, like the sparklines (mostly a hack) and a couple minor styling issues. And the fact that stuff will end up being broken and probably stay broken for a little while
Might integrate this into IndieBlocks, behind a setting of course. Not because I like feature creep, but because it sort of depends on it anyway, and it'd be one less plugin for me to maintain.
There's some overlap here with the webmention avatar code, I'll address that eventually.
I created a "generic" parser class a while ago when I decided to have the Bookmark, Like, etc. blocks display actual titles rather than a bare URL. I'm reusing some of that.
The downside is the parser will always look for microformats, even if we're not actually using them. The upside is everything is cached for 1 hour.
Tried deploying to WP.org straight from—I know—GitHub and it seems to work, yay!
I’m always super late at adopting these things. (And generally stay away from hypes. I don’t use npm or Tailwind or SCSS. No GameStop stock for me. I use a 9-year-old Windows laptop. And so on.)
The different Fediverse servers (Mastodon, Pixelfed, Lemmy, etc.) are a bit like CMSes. As long as they spit out valid HTML/RSS and support pingbacks/Webmention, it doesn’t really matter which one you use; you’ll always be able to “interact” with other sites, uh, “platforms.”
Of course, actual ActivityPub implementations differ among services, but which one you go for will likely be decided “other” features (supported content types, support for a theming system, moderation tools …).
Some are definitely better at displaying certain types of content. Some have filters! Or custom emoji! Some might let you follow people but not author content. Or the other way around. If a single account on a single social media silo was all you ever needed, you’re—by definition—much better off on the “Fediverse.” But there are very valid reasons to establish multiple presences on more than one server.
Update on my #WordPress#ActivityPub adventures: I’ve figured out how to ditch the articles/ front that I use on my article (but not note) URLs from my author permalink, yet retain working author archives. Now to add all federated post types to that author page’s query, and I have a 1-on-1 HTML representation of my ActivityPub outbox. (I had my author URL set to my homepage, it being a single-user site and all. But my homepage only shows articles, so that wasn’t ideal. This, however, is great)
I hosted my own Mastodon instance for over 3 years. It was easy. It also required a heck of a lot of storage, and I, a long-time RSS fan, never found its federated timeline very useful (and there were people on there that I didn’t follow or otherwise know, on my very own “website”).
Having a Fediverse presence that I can fully control (its structure, its URLs, what gets shown, and federated, and stored, and so on) is something I look forward to.
Same discussion all over again. (This is not a “dunk” or anything. It’s a valid concern.)
It’s about fair use as much as anything. After all, it’s always been possible (and allowed) to quote (short bits of) and link back to web pages from all over the internet. (There are rules too it, of course.)
@Edent Absolutely. Yet people did “flee” to the Fediverse to escape the prying eyes (and blatant abuse), and some would rather not go “viral” (or be discovered, beyond perhaps a small group of friends) at all.
Which is fair. That’s why you can lock your account. Which is, again, no guarantee. But the same is true for email. A malicious mail server could also publish everything it gets sent.
@popey@Edent I occasionally move domains to a cheaper registrar. (I still use three or four of them, somehow.) Usually the price difference is negligible, though. About the renewal dates: don’t really care, that’s what autorenewal is for. (The one exception is, well, when I really want to move to that cheaper registrar.)
Been playing with #WordPress’ ActivityPub plugin a bit. I know a “blog-wide actor” is in the making that would make it work with my non-standard author URL (I have it set to the homepage), but I just bypassed the check, made requests to the homepage return the “author JSON,” and use a filter to hard set a user ID.
Now I want to able to filter what (not) to federate (based on more than just the post type, like a category, a custom field, etc.). I want to be able to set the content based on the …
… same criteria, and the object type, again, basically per post. (This a new filter would solve.)
I would also like to eventually create a page that displays only/all my federated posts (or post types), like a “stream” or something, and then set my actor URL to that rather than the homepage (or author page). This, too, I think, can already be done by filtering the, in my case, ’cause of the hack above, author_url.
@Edent Injection prices going negative due to excess supply may play a bigger role than the few percentage points efficiency loss. (Net metering, while it lasts, solves this, so I guess [?] the UK is still "safe." And so would a battery, though it may not be worth the cost.)
@chrisshaw Couple years ago, I really wanted to use Laravel more often, so that’s what I did. Looked into various ready-made admin panels, but in the end decided to stick to WP. I liked having “full” control over the front end, though.
I then got into the whole “IndieWeb” thing, and lately I’ve been trying to come up with new and “easier” ways of adding microformats, etc. to WordPress sites (because that’s what people actually use).
Hoping my site can serve as an example, eventually.
So far, it’s a handful mu-plugins and, well, that child theme. I could ditch the mu-plugins, but they’re handier than a child theme, really, to really quickly test things and turn them off again.
It’s really quite interesting, the filter hooks the #ActivityPub plugin for #WordPress comes with. Like, you definitely can tweak your profile page (as displayed by, e.g., Mastodon) a bit.
@thgs@cambridgeport90 If the links are in the page’s HTML, most feed readers would be able to find them; you should be able to just input the site URL (e.g., its homepage URL), and most readers should then be able to present you with a list of available feeds.
Some sites have separate, extra feeds for different site sections, so you might see a slightly different list when you input those sections’ URLs.