• raptir@lemdro.id
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 months ago

    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
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

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

      • raptir@lemdro.id
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        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
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          8 months ago

          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
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 months ago

                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
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  8 months 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.