• TeaHands@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    3 年前

    So we’ve figured out what the rainbow and regular link icons do. But that doesn’t answer OP’s question.

    I’ve tried linking with just the /post/<ID>, linking with /post<ID>@<instance>, and no luck so far. This must be possible somehow!

      • TeaHands@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        3 年前

        Problem is posts have a different ID on each instance they federate to. It’s a bit of a bugger.

          • TeaHands@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 年前

            Yeah I wonder if the logic is that since instances don’t know about each other (until, of course, they do) it would be possible to have duplicate IDs betwixt them so would be inherently unreliable. Idk, hopefully all of this gets sorted out by someone way smarter than me.

            • bionicjoey@lemmy.ca
              link
              fedilink
              arrow-up
              2
              ·
              3 年前

              UUIDs are a computer science concept where you use some math and some black magic to guarantee that you have generated a unique identifier, even in an environment with federation. This concept predates the fediverse since this is needed for lots of different use-cases. Basically anything with horizontal scaling, orchestration, or p2p needs something like this in order to prevent collisions.

    • (deleted-account)@lemmy.worldOP
      link
      fedilink
      arrow-up
      8
      ·
      3 年前

      If I click on the fediverse icon on your post I get carried to lemmy.blahaj.zone though. I wanted to link it inside the users’ current instance like /c/ and /u/ do.

    • PriorProject@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      3 年前

      As I understand it, the fediverse icon links to the home instance for the community the post was made on. I don’t think there’s currently a mechanism to link a post in a way that consistently resolves to the user’s home server’s version so they can vote and be logged in while viewing it.

    • TeaHands@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 年前

      I don’t even see that icon on posts (desktop, web), only on comments. So now I’m even more confused! :D

      • TeaHands@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        3 年前

        Update to my own confusion:

        1. You see the rainbow icon on posts that aren’t from your home instance. This icon takes you to the full original URL of that post on the remote instance.

        2. The regular chain link icon on comments does indeed give you a link to a comment via your home instance. But that’s no good if you’re trying to link it agnostically for everyone else.

  • Aurix@lemmynsfw.com
    link
    fedilink
    arrow-up
    4
    ·
    3 年前

    Likely there is no way yet. Even the clean way to link back to your instance will throw an error, if the previous connection was not yet made.

      • Sharp312
        link
        fedilink
        arrow-up
        1
        ·
        3 年前

        I deleted it moments after posting because I realised it wasnt what op was asking so idk how you saw it lol. As for the crashing, I also use jerboa and the instance agnostic links crashing it seem to be a bug

        • Jay K@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          3 年前

          Just FYI, I still see your comment, so it may not be as deleted as you think it is.

    • UndueMarmot@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      3 年前

      it sort of works, in the sense that it links to the same URL format of “[your instance]/c/meta@lemmy.one

      Problem is, the Threadiverse’s link formats aren’t consistent. I’m on Fedia.io, a Kbin instance, and that gives me an error because our communities are on /m/ instead.

  • ActuallyRuben@actuallyruben.nl
    link
    fedilink
    arrow-up
    1
    ·
    3 年前

    It’s possible to get a post on your local instance by searching the URL for the post on instance it was posted from (the link from the rainbowy button in lemmy’s UI), it would be nice to have some automatic link rewriting, when a post contains such a link.

    Unless it already does that? https://lemmy.world/post/94456