Email or username:

Password:

Forgot your password?
Top-level
Kevin Marks

@trwnh @Gargron I don't mean the @ syntax that you type, that's reasonable and autocompletes well, but as mastodon turns them into URL links when published, encouraging people to share the thing with 2 @'s rather then the URL elsewhere is very confusing, and using the webfinger protocol to map between them rather than a simple string replacement is unneeded overhead.

6 comments
infinite love ⴳ

@kevinmarks that's only true for mastodon URLs -- remote servers could have `@a@trwnh.com` map to `ap.trwnh.com/31739018273980271 via webfinger, which contains neither the original username nor the original domain name. the `@user@domain` is the easiest way for people to share with people without worrying about what URL it will resolve to on the backend (or, in mastodon's case, *not* resolve to -- mastodon uses webfinger as canonical address, unfortunately, since it predates activitypub)

@kevinmarks that's only true for mastodon URLs -- remote servers could have `@a@trwnh.com` map to `ap.trwnh.com/31739018273980271via webfinger, which contains neither the original username nor the original domain name. the `@user@domain` is the easiest way for people to share with people without worrying about what URL it will resolve to on the backend (or, in mastodon's case, *not* resolve to -- mastodon uses webfinger as canonical address, unfortunately, since it predates activitypub)

Kevin Marks

@trwnh No, urls are the easiest to share, as you can click on them. And they resolve to have links in, which code can look for as well as people.
trwnh.com doesn't have an lrrd link in it's host meta and webfinger 404s
trwnh.com/ gives me useful links, and with one more rel=me added would give you a green tick, like you did with abdullahtarawneh.com/ (which has no webfinger either, but has a nice h-card) indiewebify.me/validate-h-card

infinite love ⴳ

@kevinmarks oh hmm, both trwnh.com and abdullahtarawneh.com are green ticks for me over here

as far as webfinger resolving, i was giving a hypothetical example that is currently not valid but might be valid in the future when i get around to actually implementing my new (dynamic) website :roundboi:

currently i just have *.trwnh.com dns resolving to trwnh.com and any unrecognized resource maps to 404 via nginx

infinite love ⴳ

@kevinmarks fwiw what i was trying to say is that the human-friendly identifier (webfinger) should resolve to the machine-friendly identifier (activitypub id, which can be reasonably resolved via https and parsed by code)

Kevin Marks

@trwnh but it isn't human friendly.
mastodon.social/@trwnh is, because humans and browsers know what to do with it.
URLs have had over 30 years to get the infrastructure and knowledge right.

infinite love ⴳ

@kevinmarks well again, that's dealing purely within the realm of mastodon, which i think we can agree does not strictly *need* webfinger, but i still think it is useful for interop

note that the mastodon web domain and webfinger domain do not have to be the same, either -- i could host mastodon.trwnh.com and have a profile at mastodon.trwnh.com/@a, but still use the webfinger address a@trwnh.com for consistency with my email and xmpp (although with that said, i do not wish to run mastodon....)

Go Up