akkoma/lib/pleroma/web/metadata/providers
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
..
ap_url.ex web/metadata: provide alternate link for ActivityPub 2025-04-27 00:35:02 +02:00
feed.ex Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
open_graph.ex check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00
provider.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
rel_me.ex fix: append field values to bio before parsing 2023-06-14 19:44:07 +00:00
restrict_indexing.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
theme.ex Add configurable theme color (#53) 2022-07-06 20:00:43 +00:00
twitter_card.ex check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00