#wordpress 2023-01-17
2023-01-17 UTC
starrwulfe, RasAlGhoul and [Tim_Nolte] joined the channel
# [Tim_Nolte] [pfefferle] do you think that if the ActivityPub plugin could add support for posts to render JSON based on a query parameter such as `?format=application/activity+json` then we could leverage that for these caching situation with a rewrite rule using something like `RewriteCond %
{HTTP_ACCEPT}
"application/activity+json"`?starrwulfe joined the channel
# [Tim_Nolte] I'm not finding anything within the VHost or server-wider configuration in the OpenLiteSpeed server that can separate out the caching by `HTTP_ACCEPT` formats. So I'm trying to thinking of a way to leverage perhaps query parameter caching to get something like that working.
RasAlGhoul_ and starrwulfe joined the channel
# [Tim_Nolte] I'm not clear on what you mean whether other ActivityPub services support it? If they make a request and I rewrite it on the server and they get the correct response does that make a difference?
starrwulfe joined the channel
starrwulfe joined the channel
# GWG [snarfed]: https://github.com/dshanske/syndication-links/issues/174 I'm adding a single setting that will swap between the two
RasAlGhoul_ and starrwulfe joined the channel
[timothy_chambe] and starrwulfe joined the channel
starrwulfe joined the channel
gRegor and gRegorLove_ joined the channel
# [pfefferle] [Tim_Nolte] I have no idea if that works but maybe give it a try. There is already a possibility to show the json by adding „/activitypub“ behind every author, post or page URL. For example https://notiz.blog/2022/11/14/the-at-protocol/activitypub/ Maybe you can redirect to this page!
jsbach, starrwulfe, Alec, Guest6, [schmarty] and [aciccarello] joined the channel
starrwulfe joined the channel
# [Tim_Nolte] [pfefferle] ah, perfect, I didn't realize that endpoint existed. That is exactly what I will try using!
# [Tim_Nolte] [pfefferle] ++
starrwulfe and gRegor joined the channel
# starrwulfe[m] GWG: I think there should be an explanation of what does what a little bit better. I’m using a combination of micropub and webmention depending on the service thanks to [snarfed] helping me out earlier.
# starrwulfe[m] Twitter doesn’t like the content type coming from micropub option so webmentions for them. Everyone else gets a micropub option if they have it.
# starrwulfe[m] If there’s a way to pot tooltips or popovers to explain things a bit in the plugin instructions, it’d be welcome
# starrwulfe[m] [pfefferle]: sometimes I’m getting that /activityweb screen without that suffix somehow. Was wondering what that was; now I know.
# starrwulfe[m] GWG: All of them. With the micropub setting for twitter I only ever get the link sent to Bridgy in the content field.
# starrwulfe[m] If there was a way to customize that a la the ActivityPub plugin…
# [tw2113_Slack_] oh no, Jason found me 😛
# starrwulfe[m] Unfortunately I deleted it earlier from my Twitter feed and reposted correctly but let me see if Bridgy still has it listed
# starrwulfe[m] [tw2113_Slack_]?? Me ??
# [tw2113_Slack_] Jason Tucker, just joined the channel a moment ago
# [tw2113_Slack_] i recognize him from the larger WP community
# starrwulfe[m] Oh! 🤣 yeah I’m “not so important Jason” lol
# [snarfed] by using either Micropub or https://brid.gy/about#silo-content for webmention trigger. up to you!
# starrwulfe[m] Here you go, I kinda documented what happened in the tweet comment below it
# starrwulfe[m] And the link has some of what I was telling [pfefferle] with that strange AP JSON getting thrown back at us to boot
# [snarfed] ^ GWG, Bridgy logs show that Synd Links sent "- https://starrwulfe.xyz/2088-2/" as the content property in that Micropub request
starrwulfe joined the channel
# starrwulfe[m] I didn’t give a title so something’s inserting that dash
starrwulfe joined the channel
starrwulfe joined the channel