akkoma/lib/pleroma/web/metadata
Oneric ed03eaade9 web/metadata: provide alternate link for ActivityPub
This allows discovering a page represents an ActivityPub object
and also where to find the underlying representation.
Other servers already implement this and some tools
came to rely or profit from it.

The alternate link is provided both with the "application/activity+json"
format as used by Mastodon and the standard-compliant media type.

Just like the feed provider, ActivityPub links are always enabled
unless access to local posts is restricted and not configurable.

The commit is based on earlier work by Charlotte 🦝 Deleńkec
but with fixes and some tweaks.

Co-authored-by: Charlotte 🦝 Deleńkec <lotte@chir.rs>
2025-04-27 00:35:02 +02:00
..
providers web/metadata: provide alternate link for ActivityPub 2025-04-27 00:35:02 +02:00
player_view.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
utils.ex check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00