@pfefferle@julian In my tests the edits were made in the first paragraph, so both summary and preview fields updated as well. (The latter being Note type.)
@pfefferle@julian There doesn’t seem to be any problem with the ActivityPub Wordpress plugin. Update activities on Article objects are correctly federated; and Friendica picks up the changes without issue.
(As an aside, I had to install the nodeinfo WP plugin so follow requests worked from Friendica, but that could just be my homelab configuration.)
It’s just Mastodon that doesn’t do anything with Article Updates. So for now I keep using Template Tags and a Note object.
* Latest WP with latest Litespeed and Activitypub plugins. * Add Tim's initial fix to .htaccess, with [NC] for case-insensitive matching. * Purge cache to be sure. * curl --header "Accept: application/activity+json, application/ld+json" (WP post url) * activitystream json should be returned * curl --header "Accept: */* " (same url) * Expected result is HTML, however the cached activitystream json is incorrectly returned.
It's the Accept: header coming from a random third party, not the plugin.
My hosting doesn't log that header, but I'd guess that third party is sending an Accept with incorrect casing.
The .htaccess RewriteCond didn't pick it up, so didn't add the Cache-Control:vary suffix.
However, the ActivityPub plugin matched the header regardless of case and returned the activitystreams json as expected. Which may be correct behaviour in itself.
Still getting trouble combining the #activitypub and #litespeed cache plugins on my #wordpress site. I’ve implemented Tim Nolte‘s .htaccess changes to vary on Accept type, and that works when manually testing with a browser and Postman. But every now and then the Activitypub JSON gets cached and delivered to a regular browser.
Has there been a recent change to the accepted application types that the RewriteCond needs to pick up on? If so, which apps use this different type?
For me, the ability to fine tune how the Fediverse profile is presented would be great. I believe there’s some work on the roadmap to better define how the Header Image, Icon, Biography and other profile details are propogated. It would be good as well to be able to add validated links to the profile at the blog level.
There may be a capacity to do this in the separate webfinger and nodeinfo plugins, but those are too opaque for a non-technical admin.