this post was submitted on 20 Jun 2023
19 points (100.0% liked)

Technology

37705 readers
174 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Say I want to link to community x on instance y.org. How do I post this so that someone from instance z.org will end up at z.com/c/x@y.org, but someone from a.org ends up on a.com/c/x@y.org?

top 10 comments
sorted by: hot top controversial new old
[–] trashhalo@beehaw.org 8 points 1 year ago (1 children)

This seems to be a good topic to plug my GitHub issue that would make !technology@beehaw.org correct clickable links with no extra effort on the users part. I even broke down how to implement that change in the codebase!

https://github.com/LemmyNet/lemmy-ui/issues/1297

[–] rm_dash_r_star@lemm.ee 2 points 1 year ago

A "link community" button in the formatting bar below the comment box would be ideal.

[–] crashspeeder@lemmy.fmhy.ml 5 points 1 year ago* (last edited 1 year ago) (3 children)

The best way is to use relative links, such as !technology@beehaw.org

What I did there was simply [!technology@beehaw.org](/c/technology@beehaw.org). This link doesn't start with the protocol and site, but instead assumes the current site, and starts with /c/my_comunity@my_site.tld, meaning it will be routed to the same instance.

This will probably not work for those on Kbin, since their communities (magazines) don't start with /c/, but rather with /m/. If anyone knows a good way for this to work for both, I'd be glad to adopt that myself going forward.

[–] LibertyLizard@slrpnk.net 2 points 1 year ago* (last edited 1 year ago)

So if I copy the pink text it should work if I understand correctly?

!technology@beehaw.org

It does, thank you!

[–] justgohomealready@lemmy.pt 1 points 1 year ago (1 children)

In my phone, for some reason, Jerboa crashes when I tap your link.

[–] crashspeeder@lemmy.fmhy.ml 2 points 1 year ago

That's a known bug in Jerboa. It's already been reported and the dev acknowledged it.

[–] WorseDoughnut@vlemmy.net 1 points 1 year ago

For kbin at least, there's currently a Firefox add-on that adds an icon next to any full or relative links that sends them to the corresponding kbin magazine version of the lemme community.

https://addons.mozilla.org/en-US/firefox/addon/kbin-link/

[–] Shortcake@kbin.social 2 points 1 year ago (1 children)

With Lemmy it's !technology@beehaw.org (do Lemmy users see this as "!technology"?)
From kbin it's the same but with an @. @technology (@technology@ beehaw.org)
IDK how others have search set up. There may not be a way

[–] speff@melly.0x-ia.moe 1 points 1 year ago

I'm not sure that's correct. When I click your first link, it's going to https://kbin.social/m/[!technology@beehaw.org](/c/technology@beehaw.org). What OP wants is a way to post the link and (in my case) go to https://melly.0x-ia.moe/c/technology@beehaw.org

[–] vacuumpizzas@lemmy.dbzer0.com 0 points 1 year ago

Relative links seem to be the best way to accomplish what you’re looking to do. So, in your example, it’s /c/x@y.org.

Doing it live

Reference: https://lemmy.dbzer0.com/post/6063

load more comments
view more: next ›