I just wanted to link to this post in this comment but when others click on it, i think it opens the post in another instance, when looked at from the web browser. Is there a good way to properly link to posts and comments?

  • mesa@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    19 hours ago

    Not in lemmy, but on piefed i can comment and link to posts pretty easy. And stay within piefed.

    Just made a test post.

    Maybe lemmy can piggyback on the work done?

    • gandalf_der_12te@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      16 hours ago

      I think UUID might solve this, as it’s supposed to generate worldwide-unique identifiers:

      The DOI system might also be an interesting approach to give each piece of content on the internet an instance agnostic link.

  • Die4Ever@retrolemmy.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    20 hours ago

    I guess if you know they’re a Lemmy user you can make a relative link to their Lemmy search page:

    https://discuss.tchncs.de/post/52571066

    that’s using this markdown code:

    [https://discuss.tchncs.de/post/52571066](/search?q=https%3A%2F%2Fdiscuss.tchncs.de%2Fpost%2F52571066&type=Url&listingType=All&page=1&sort=TopAll&titleOnly=false)
    

    But this probably only works for the default lemmy-ui

    I’m still salty this feature request was closed as not planned lol https://github.com/LemmyNet/lemmy-ui/issues/2318

  • wizardbeard@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    21 hours ago

    Not really well, at least to my knowledge. Neither of the options I’m aware of work with mobile apps for lemmy.

    There was some site that would attempt to auto redirect to a person’s home instance, and there are a few userscripts for browsers that try to do the same thing with normal instance specific links like yours.

    There is a lemmy redirector app for android that tried to work like the userscripts, and maybe I’m not using it right, but I’ve never gotten it to work on my phone alongside lemmy apps.