tantek.com

↳ In reply to

flaki.social user flaki’s post


@flaki@flaki.social no cross-posting at all, that post, and this reply are federated directly from my personal domain. If you look at the top of my post in your Mastodon client / reader you can see that it’s from @tantek.com — no need for a username when you use your own domain.

Regarding “why the expanded link preview is to one of the (first) hashtags and not to one of the links in the post”, that’s likely a #Mastodon link preview bug with how it treats hashtags.

If you view your reply in your Mastodon (client), you can see that the first hashtag in my post #webDevelopers is correctly (re)linked to your Mastodon’s tagspace: https://flaki.social/tags/webDevelopers, so Mastodon is at least getting that part right, recognizing it as a hashtag, and linking it correctly for your view.

However, Mastodon is still for some reason using the default link for that hashtag on my site (where I am using https://indieweb.social as the tagspace¹) as the link for the link preview.

Since you use Mastodon, perhaps you could file an issue on Mastodon to fix that bug? Something like:

If Mastodon recognizes a hashtag and converts it to link to a local tagspace, it MUST NOT use that hashtag’s prior/default hyperlink as the link for the link preview shown on a post.

Thanks!

#hashTag #linkPreview #federation #fediverse #federated #tagSpace

References:

¹ https://tantek.com/2023/100/t1/auto-linked-hashtags-federated

on (ttk.me t5Wu1) using BBEdit