Announcing a new Fediverse Enhancement Proposal for your review:
"FEP-e232 is a proposal for representing text-based links to ActivityPub objects using tags"
Learn more and discuss at
https://codeberg.org/fediverse/fep/issues/14 and https://socialhub.activitypub.rocks/t/fep-e232-object-links/2536.
@weex oh thanks for posting! I have been following this topic for years its awesome to see someone trying to standardize it!
@mike i should clarify the reason i was/am willing to "die on the hill" is specifically for misskey's usage, and specifically because of the quote's inclusion in `content` as `RE: url`, that `tag` is more appropriate. if your project(s) treat quotes as something extra and not part of the content, then `attachment` is suitably fine for this usage. so i suppose that yes, we would be left with 2 mechanisms. or possibly 4, if someone wants to not use Links but rather Notes/etc. such is activitypub.
@mike would it be more or less useful to consider it as using `tag` for metadata? i am thinking it would be better to refocus the FEP around "this Link should be fetched as an Object" and accordingly proposed using rel instead of mediaType.
as far as "plaintext" vs "html" goes, i am interested in having a clear mechanism for replacing substrings of content with rich links to some other status / profile / emoji. this should be useful for both worlds. i'd also like to see direct tags of object id
@mike in other words, "how do i know that this anchor's href is supposed to be an activitypub object?"
currently there's some nonstandard expectations such as mastodon expecting a class of "mention" for its HTML sanitizer. i think they also parse tag for Mention links in order to generate notifications, instead of using the native to/cc addressing.
misskey basically invented the quoteURI and _misskey_quote properties purely to know when an activitypub object is being linked or referred to.
"how do i know that this anchor's href is supposed to be an activitypub object?"
@weex So, basically something like "quote retweets"? This is cool, I really wanted this to happen. I think there are a few AP implementations that already do this (Friendica and MissKey), but I hope that this feature will be standardize soon enough.
@junbird @weex that is one possible application, yes. the way i see it, the FEP is for defining how to link to objects with a microsyntax (the microsyntax itself is out of scope).
so you can already have the following:
- tag a Mention (microsyntax: @)
- tag a Hashtag (microsyntax: #)
the FEP is proposing the following
- tag a Link (possible microsyntax: RE:)
"then how would you know whether you can dereference that link as an internal reference rather than just some ordinary link?"
@weex
INTERESTED