jan@jan.boddez.net
jan@jan.boddez.net
Another thing that’s somewhat bothered me about the ActivityPub plugin for WordPress, is the embedding of third-party images, like avatars. (I know we can ask browsers to not send referrer headers and so on, but still.) So I cache them locally. A bit like Mastodon1. Comes with challenges, too, because, ... jan.boddez.net
|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@jan Interestingly (or not 🤓) my “footnote links” are removed from the note above, presumably because `sup` tags are stripped—and, somehow, the links inside them?

Also, my “performance woes” (“thundering herd” upon boost) are still not entirely resolved. It’s not *really* an issue, though.

And I might attempt to pre-warm the cache when launching a new page; if it expires quickly, NGINX should keep the stale file around for quite a bit and serve it while updating

|
Embed
Progress spinner
jsit@social.coop
jsit@social.coop

@jan @janboddez How do you reply to a Mastodon post with a WordPress post?

|
Embed
Progress spinner
starrwulfe@starrwulfe.xyz
starrwulfe@starrwulfe.xyz

@jan @janboddez so hang on a sec; how do I do this on my own WP blog here? What do I “aim” the activitypub_in_reply_to field at to get the “inline federated reply” trick to work?

(side note; how do I put the shortlink next to the date as the permalinks like how you’ve done?)

https://starrwulfe.xyz/notes/2023/12/ad18663ee2/

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe Hi, I (hopefully) just sent you a webmention 😅 from my blog, though it may depend on your parser whether it comes through or not.

So, either way, it looks like you figured it out.

Two (unrelated) things, though:

1. It looks like your post does not have a `u-url` that links back to itself. That somehow causes the PHP microformats parser to pick up both @-mentions (which have `u-url mention` classes) instead. I think it would be solved if you’d enabled the post date block’s “link.”

|
Embed
Progress spinner
janboddez@indieweb.social
janboddez@indieweb.social

@starrwulfe And, 2. while your post looks just fine here in Mastodon’s web UI, there is a lot of extra whitespace when I view it in Tusky on Android. I think this is a bug in the AP plugin when blocks are in use. I vaguely remember filing an issue, even, but then forgot about it as I use a custom “AP content” filter and don’t personally suffer from it anymore.

Oh, and the webmention I referred to was of course about this here reply: jan.boddez.net/notes/9a5f268a5

|
Embed
Progress spinner
In reply to
starrwulfe
starrwulfe

@janboddez @starrwulfe

What I’ve been doing to get around some of the hangups with trying to thread comments in the comment section is just by using micro.blog as a “sidecar” with a subdomain to the main blog and just comment in this manner. Activitypub (and suprisingly Bluesky/AT-Proto) are pretty reliable.

  1. it could be that I need to pick a plugin vs another. I have both the Indieweb Webmention and the IndieBlocks webmention plugins rolling.
  2. the white space thing could be my formatting because of the above and I do have a template on that formats the syndicated posts a certain way; it could be doing the same thing to the webmentions??
|
Embed
Progress spinner