akkoma/test/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_test.exs web/metadata: provide alternate link for ActivityPub 2025-04-27 00:35:02 +02:00
feed_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
open_graph_test.exs check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00
rel_me_test.exs fix: append field values to bio before parsing 2023-06-14 19:44:07 +00:00
restrict_indexing_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
theme_test.exs Add configurable theme color (#53) 2022-07-06 20:00:43 +00:00
twitter_card_test.exs check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00