this post was submitted on 05 Nov 2023
191 points (95.3% liked)

Asklemmy

43792 readers
928 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
you are viewing a single comment's thread
view the rest of the comments
[โ€“] mojo@lemm.ee 19 points 1 year ago (2 children)
[โ€“] CommunityLinkFixer@lemmings.world 26 points 1 year ago (1 children)

Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !pixaraimemes@lemmy.ml

[โ€“] raptir@lemdro.id 6 points 1 year ago (1 children)

I don't know if anyone monitors this bot, but is there a way to get a similarly generic link to a specific post?

[โ€“] dandroid@dandroid.app 6 points 1 year ago (1 children)

There currently is no way. Though many front-ends do it automatically, including mlmym (old lemmy), voyager, and alexandrite.

[โ€“] raptir@lemdro.id 1 points 1 year ago (1 children)

Hmmm, lemdro.id hosts all of them and I tried them out but whenever I copy a post link it gives a link from the hosting instance.

[โ€“] dandroid@dandroid.app 1 points 1 year ago* (last edited 1 year ago) (1 children)

It still appears to be a link to the original instance, but when you click it, it gets rewritten to be your instance.

[โ€“] raptir@lemdro.id 1 points 1 year ago (1 children)

Ah, so on the viewing end, not the posting end?

[โ€“] dandroid@dandroid.app 1 points 1 year ago (1 children)

Yes, exactly. Otherwise it would only work for the poster and not all the viewers.

[โ€“] raptir@lemdro.id 0 points 1 year ago (1 children)

That was kind of my point though - for communities there is a generic link that all apps/web interfaces can recognize and take you to the community on your instance.

[โ€“] dandroid@dandroid.app 2 points 1 year ago

Yes, but as of now the lemmy developers don't know how to implement this for posts and comments. So as of now, the only solution is for front ends to rewrite the URL when a user clicks on it. The way voyager does this is by checking the list of instances federated with yours, and if the link is to an instance federated with yours, it finds the comment or post in your instance and changes the link to that one before taking you to it.

omg that is amazing lol