80
How to Set Up ActivityPub for Self-Hosted WordPress Sites
(jseggers.com)
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!
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
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.