10
submitted 1 year ago* (last edited 1 year ago) by TomViolence@lemmy.one to c/asklemmy@lemmy.ml

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?

top 5 comments
sorted by: hot top controversial new old
[-] boomboxnation@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

That's what this does:

[Some text here](/c/community@instance.here)

Tap the 'more' skinny hamburger menu just ~~above~~ below 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:

blay harg vlar

[-] gingerman@lemmy.ca 1 points 1 year ago

Should 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

[-] jrubal1462@kbin.social 1 points 1 year ago

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.ml

I 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.

[-] Perhyte@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

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.

[-] TomViolence@lemmy.one 1 points 1 year ago

Nice, thanks for the info!

this post was submitted on 21 Jun 2023
10 points (100.0% liked)

Asklemmy

43855 readers
1674 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS