fediverse/fep
38
268
Fork
You've already forked fep
100

FEP-fffd: New draft using url and Link, plus merging instructions #99

Merged
weex merged 3 commits from arnelson/fep-fffd:fep-fffd into main 2023年05月17日 17:39:51 +02:00
Contributor
Copy link

This is an extensive update to FEP-fffd:

  • Proxy links are now Links in url with "rel": "alternate" or "rel": "canonical". The new @context entries have been removed entirely.
  • Protocols are determined by URI scheme and/or mediaType, not an explicit protocol URI.
  • Added ATProto, DID, Secure Scuttlebutt, RSS, Atom, and ActivityPub to the list of well-known protocols.
  • Specified that only bare NIP-19 identifiers can be used in Nostr URIs.
  • Added a section to explain the merging "algorithm", mostly the situations in which merging breaks down and should be skipped.
  • Removed references to Zot, since no bridging is needed for Zot.
  • More clarity about which sections are normative.
  • Added a reference to proxies for moved ActivityPub posts, which seems like an ideal use case not considered before.
This is an extensive update to FEP-fffd: - Proxy links are now `Link`s in `url` with `"rel": "alternate"` or `"rel": "canonical"`. The new `@context` entries have been removed entirely. - Protocols are determined by URI scheme and/or `mediaType`, not an explicit `protocol` URI. - Added ATProto, DID, Secure Scuttlebutt, RSS, Atom, and ActivityPub to the list of well-known protocols. - Specified that only bare NIP-19 identifiers can be used in Nostr URIs. - Added a section to explain the merging "algorithm", mostly the situations in which merging breaks down and should be skipped. - Removed references to Zot, since no bridging is needed for Zot. - More clarity about which sections are normative. - Added a reference to proxies for moved ActivityPub posts, which seems like an ideal use case not considered before.
codenamedmitri left a comment
Copy link

👍 nice!

👍 nice!
Author
Contributor
Copy link

@alexgleason fyi if you want to update Mostr to use the real FEP-fffd syntax then this is probably it, hopefully there won't be more incompatible changes (no guarantees though)

@alexgleason fyi if you want to update Mostr to use the real FEP-fffd syntax then this is probably it, hopefully there won't be more incompatible changes (no guarantees though)
First-time contributor
Copy link

I'm going to update. let me test that this remains compatible with Mastodon, Pleroma, and Misskey.

I'm going to update. let me test that this remains compatible with Mastodon, Pleroma, and Misskey.
First-time contributor
Copy link

Mastodon and Misskey don't seem to mind the changed url field, but Pleroma drops the entire post. I've tried a few different ways and can't satisfy Pleroma. My code is here: https://gitlab.com/soapbox-pub/mostr/-/merge_requests/60/diffs

Mastodon and Misskey don't seem to mind the changed `url` field, but Pleroma drops the entire post. I've tried a few different ways and can't satisfy Pleroma. My code is here: https://gitlab.com/soapbox-pub/mostr/-/merge_requests/60/diffs
First-time contributor
Copy link

Pleroma rejects it because it validates that link.href is http or https.

Pleroma rejects it because it validates that `link.href` is `http` or `https`.
Author
Contributor
Copy link

@alexgleason Would Pleroma accept it if the Links were given a different, custom type, like Proxy?

@alexgleason Would Pleroma accept it if the `Link`s were given a different, custom `type`, like `Proxy`?
First-time contributor
Copy link

No, it validates the url field like that. I could be a Link under a different field, but there's no way to make it work with the url field unless Pleroma updates their code.

No, it validates the `url` field like that. I could be a Link under a different field, but there's no way to make it work with the `url` field unless Pleroma updates their code.
First-time contributor
Copy link

Looks like there's already a fix for Pleroma: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3884

Nice job @arnelson!

I will wait a little bit before updating the bridge.

Looks like there's already a fix for Pleroma: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3884 Nice job @arnelson! I will wait a little bit before updating the bridge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fediverse/fep!99
Reference in a new issue
fediverse/fep
No description provided.
Delete branch "arnelson/fep-fffd:fep-fffd"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?