this post was submitted on 13 Jan 2025
150 points (96.9% liked)

Fediverse

29781 readers
1616 users here now

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 [email protected]!

Rules

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

founded 2 years ago
MODERATORS
150
submitted 3 weeks ago* (last edited 3 weeks ago) by amon to c/fediverse
 

EDIT: on web, it renders like this

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 3 weeks ago

Another commenter (who's contributed code to Lemmy) pointed to a link that provides the specification for that field: "A simple, human-readable, plain-text name for the object. HTML markup MUST NOT be included."

So in this case, it's more that the JSON looks a bit ambiguous: 'mediaType' is only referring to the format of the text in a post's body, but - unlike me - you'd also need to be aware of the spec to know that it doesn't apply to the title.