this post was submitted on 04 Feb 2025
1 points (100.0% liked)

ActivityPub

0 readers
4 users here now

Focused discussion related to ActivityPub integration in NodeBB

founded 3 weeks ago
 

@activitypub Hey, thanks for the awesome ActivityPub support!

It has been working great so far on our forum at fbrc.nodebb.com, with two exceptions. I don't know if these are bugs or if they fall in NodeBB scope or not, figured I'd report them here:

  1. Alt text not transferring to Mastodon. This post has alt text in NodeBB (I think), it's not showing up when viewed via Mastodon web UI: https://community.nodebb.org/category/30/activitypub
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 week ago (1 children)

@[email protected]

The AP from NodeBB is missing the 'name' field for images (where alt-text is put). If you inspect that first image in a web browser, the alt-text reads "Pic of a flow battery development kit ...", but for the relevant AP, compare NodeBB with a random image on pixelfed:

curl -L -H 'accept: application/activity+json' https://fbrc.nodebb.com/post/8 | jq .attachment[0]

vs.

curl -L -H 'accept: application/activity+json' https://pixelfed.de/p/tercean/364 | jq .attachment[0]