Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support XFN identity (Mastodon verification) links in profiles #11886

Open
1 of 3 tasks
oplik0 opened this issue Aug 8, 2023 · 0 comments
Open
1 of 3 tasks

Support XFN identity (Mastodon verification) links in profiles #11886

oplik0 opened this issue Aug 8, 2023 · 0 comments

Comments

@oplik0
Copy link
Contributor

oplik0 commented Aug 8, 2023

Description

Very loosely related to #11580

Currently, without any additional plugins, there is a field that can be used by users to link to their social media account - the website field. However, it's just a singular field (so one account only), and it currently won't allow for profile verification on Mastodon (and other social media using XFN rel="me" links for verification).

So since NodeBB is working towards supporting AP, I believe supporting the use of fediverse networks in a simple way would be a good idea :) Additionally, it'd open up the way for supporting verification back.

In total I have three proposals here:

  • add me attribute to user links
    • currently they have rel="nofollow noopener noreferrer" - adding me there shouldn't affect SEO AFAIK
      • side note: noopener there should be redundant since noreferrer sets it automatically and is actually older than noopener so it doesn't even provide any legacy browser support. noopener is supposed to be used specifically when you don't want to set Windows.opener while still passing the Referer header
      • ref: Use rel=me for links in user profile nodebb-theme-harmony#24
  • support multiple profile links
    • I'd say ideally it should also support some kind of metadata (that is, some name for the link), similar to how Mastodon does this.
    • I'm not sure how should this be done with regards to template compatibility though. Passing the first link the way it's currently done (which actually includes backend-generated websiteName, so that's done :) and the rest as a new attribute would work, but seems really ugly. I guess it could be then unified in NodeBB 4.0?
  • support link verification
    • would require NodeBB to check the website entered to look for a link with rel attribute that includes me

Community forum reference

No response

@oplik0 oplik0 changed the title Support XFN (Mastodon verification) links in profiles Support XFN identity (Mastodon verification) links in profiles Aug 8, 2023
oplik0 added a commit to oplik0/nodebb-theme-harmony that referenced this issue Aug 8, 2023
@julianlam julianlam reopened this Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants