80
submitted 9 months ago* (last edited 9 months ago) by Jonamerica@midwest.social to c/fediverse@lemmy.world

I wrote a detailed guide on configuring ActivityPub, Friends, and several other plugins to turn your self-hosted WordPress website into a node on the fediverse.

you are viewing a single comment's thread
view the rest of the comments
[-] Jonamerica@midwest.social 1 points 9 months ago

Yes, that would be nice, although I'm not sure how implementation would work. You need something to anchor the toots to the post. The logical choice is the URL of the post. However, this can be accomplished already with webmention and doesn't need ActivityPub at all. You have to use something like Bridgy to monitor your account for your domain and then pass them to webmention. Unfortunately, Bridgy can be a little finicky.

I used to use a WordPress plugin that allowed people to post comments using their social media accounts, but that was just for verification and it wasn't an integration with social media.

[-] Zak@lemmy.world 1 points 9 months ago

The ideal technical implementation is that when a client requests the post with an accept header of application/ld+json; profile="https://www.w3.org/ns/activitystreams", Wordpress sends the ActivityPub version of the post instead of HTML. It should have the same content as the items in the outbox. There may be limitations in the Wordpress plugin API that prevent this.

Another implementation allowed by the standard would be to have a different URL for the ActivityPub ID and put the post's URL in the object's URL property, or insert it in the content. Perhaps version 2 of the plugin will handle this better.

this post was submitted on 03 Jan 2024
80 points (98.8% liked)

Fediverse

27935 readers
561 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS