Is there a way to make instance-agnostic links?
Is there a way to make instance-agnostic links?
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 !some_community@foo.com that, when a user of bar.com clicks on it, opens https://bar.com/c/some_community@foo.com 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](/c/community@instance.here)
Tap the 'more' skinny hamburger menu just
abovebelow this message to 'view source' of the below:blah blah blah links to asklemmy@lemmy.ml
Actually..better, here is one for an instance that is neither yours or the one you posted into:
2 0 ReplyShould these links work? I'm viewing this thread from Lemmy.ca and both give me a 404 error. When testing with jerboa, the app crashes
1 0 Reply
I thought it worked if you just linked /c/asklemmy@lemmy.ml
With the only caveat being that users on kbin will need /m/asklemmy.mlI would normally test the crap out of these before posting since I really don't know what I'm doing, but I'm on my phone and mostly busy at the moment. Sorry if it doesn't work.
1 0 ReplyOnce your Lemmy web frontend upgrades to version 0.18, the following should all auto-link with no extra syntax:
- !community@server.com
- /c/community@server.com
- /m/community@server.com
- /u/username@server.com
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.
1 0 ReplyNice, thanks for the info!
1 0 Reply