documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Attribute authors on Mastodon/the fediverse

Open cassidyjames opened this issue 1 year ago • 2 comments

Mastodon has a newish feature to attribute links to fediverse handles, and it will likely be adopted by other fediverse/ActivityPub platforms in the future. It's just an OpenGraph tag, e.g.:

<meta name="fediverse:creator" content="@[email protected]" />

Then when a link to any page on the site is shared to Mastodon, it will show More from Flathub below the link preview.

We should probably add the tag with the following logic:

  • default to @[email protected]
  • if we add fediverse handles to blog/authors.yml, we could add authors' handles for blog posts

Note that Mastodon currently only displays the first-listed handle, so we should ensure a post's author's handle is listed first. In the case of multiple authors we might just want to list the fallback of @[email protected] first so we're not giving preferential treatment to one author over another.

cassidyjames avatar Oct 25 '24 19:10 cassidyjames

Might be worth raising this with docusaurus, to see, if they would want this in the platform.

razzeee avatar Oct 25 '24 22:10 razzeee

Their GitHub-based feature request form was intimidating, so I've filed it on their feedback thing as the form requested: https://docusaurus.io/feature-requests/p/attribute-authors-on-mastodon-the-fediverse

cassidyjames avatar Nov 13 '24 16:11 cassidyjames