Is there a way to make a link to a community of a foreign instance that opens on the instance of the user that clicks on it?
For example, I would like to make a link to [email protected] that, when a user of bar.com clicks on it, opens https://bar.com/c/[email protected] instead of https://foo.com/c/some_community.
If it’s not possible, don’t you think it would be convenient?
That’s what this does:
[Some text here](community@instance.here)
Tap the ‘more’ skinny hamburger menu just
abovebelow this message to ‘view source’ of the below:blah blah blah links to [email protected]
Actually…better, here is one for an instance that is neither yours or the one you posted into:
Edit Sorry I misunderstood. I believe you can link the community as a whole, but posts I don’t believe you can.
There isn’t a way at the moment. Solutions to this are being discussed on Github
https://github.com/LemmyNet/lemmy-ui/issues/1048
Edit 2
Maybe you can’t link a community either, I could have sworn I have seen it done but that could have just happened to be for my instance.
Edit 3
My testing please ignore :)
Yes it would be very convenient, right now if I’m recommending a community I simply write out the URL manually to make sure it routes via the respective user’s instance first.
I’d like to know too. I was hoping it would be something simple like
!community@host.com
which would resolve for everyone. Didn’t work when I tried it, though I might not have done it correctly.EDIT: I guess I could try again here [email protected]
EDIT2: Nope: That link goes to
https://lemmy.world/post/!asklemmy@lemmy.ml
for me, which is not valid.That link crashes jerboa lol
Once your Lemmy web frontend upgrades to version 0.18, the following should all auto-link with no extra syntax:
These should then all link to the instance you’re currently on.
Note: because this is implemented in the frontend and does not change the underlying data, other Fediverse clients will not show these the same unless they also implement this themselves.
Nice, thanks for the info!