FEP-e232: Object Links

i’m not johann but i would guess that foundkey draws a distinction between simply linking to an object vs. it being a “quote” as understood by misskey, fedibird, etc. – in effect, the definition of the _misskey_quote link relation is that the referenced resource (href) is being quoted by the current resource, according to misskey’s understanding of a quote. consider the following:

{
  "id": "https://example.com/some-object"
  "content": "<p>I made <a href='https://example.com/post-1'>this post</a> and <a href='https://example.com/post-2'>this other post</a> some time ago. I also made <a href='https://blog.example.com/static'>this external post</a> on my static site.</p><p><a href='https://example.com/quoted-post' rel='_misskey_quote'>RE: https://example.com/quoted-post</a></p>",
  "tag": [
    {
      "type": "Link",
      "name": "this post",
      "href": "https://example.com/post-1",
      "mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""
    },
    {
      "type": "Link",
      "name": "this other post",
      "href": "https://example.com/post-2",
      "mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""
    },
    {
      "type": "Link",
      "name": "this external post",
      "href": "https://blog.example.com/static"
    },
    {
      "type": "Link",
      "name": "RE: https://example.com/quoted-post",
      "href": "https://example.com/quoted-post",
      "mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",
      "rel": ["_misskey_quote"]
    }
  ]
}

(too lazy to type out the full uri for _misskey_quote so forgive me for that)

you can see from the above example that there are 4 links, 3 of which are object links, and only 1 of which is a misskey quote. a consuming application might embed the misskey quote as a preview, but not embed the other two object links. but it would probably want to load those two object links natively instead of in an external browser/tab as HTML.

(aside: if you want to deal with “object mentions” then i would consider use of Mention for that. a Mention is still a Link, just one that is intended to notify? or if not that, then one that is intended to refer to an actor. it’s never explicitly stated what a “mention” is supposed to be, and the examples in as2 pretty much relegated themselves to only covering the @mention microsyntax with no additional semantics clearly described.)

1 Like