@laxla Do you really need it? JSON-LD is not required for federation, and may even be harmful because some fediverse servers don't produce valid JSON-LD (at least that's what I heard - I don't do JSON-LD processing myself)
Top-level
@laxla Do you really need it? JSON-LD is not required for federation, and may even be harmful because some fediverse servers don't produce valid JSON-LD (at least that's what I heard - I don't do JSON-LD processing myself) 6 comments
@silverpill personally, I agree with @mikedev; don't support the ActivityPub spec word-by-word, I don't support you (said on Mastodon; oh, the irony). Creating invalid JsonLD is therefore from my POV a bug in other software, not a design issue with mine. @mikedev btw, does (streams) have a documentation page for all non-AP-spec features it supports? Will be useful. There's a FEDERATION.md at the repository root that's only slightly out of date. I'll update it again when I get a chance.
The FEDERATION.md was just updated and I removed mention of some of the historical hacks which have been since been standardised. Still a couple of rough edges, but I've got a lot going on at the moment. Look in the dev branch of the streams repository for the latest:
https://codeberg.org/streams/streams/src/branch/dev/FEDERATION.md |
@silverpill yes. I find it much more reliable to expand everything before serialization.