I can share the link of a post like https://lemmy.world/post/58535 but if I change the domain to lemmy.ml it links to a different post.

I understand that the post Id is local but, is there a way to generate a global link that contains the information about the server, community and post?

I think it will be useful to make mirror sites, index in Google, addons to redirect to your Lemmy server…

  • empireOfLove@lemmy.one
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Part of the idea behind federation is that by only accessing content through your specific instance, you actually reduce the load on the instance you’re browsing to, because your specific instance federates (essentially “caches”) a local copy of the remote content. So by trying to obtain a direct “global” link to the original you’re bypassing a lot of the natural load sharing and that is inherently undesirable for very large instances like lemmy.ml is becoming. As long as federation is working smoothly, you are losing no inherent information about the post by sharing a link to the post from your lemmy.world instance vs lemmy.one, lemmy.ml, or any other instance, whether the post is original to that instance or no.

    Besides, the information about the “server/community/post” is sort of baked into Lemmy’s UI with how it defines locations within Lemmy (eg. [email protected], tells you right off the bat the community is on the Beehaw instance, same for users). That’s just down to user’s learning knowledge about how the Lemmy system is laid out and displayed in the UI.

      • empireOfLove@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Is there linking method that says Give me the link for post #X on instance Y, but give me the link on the viewing instance?

        ahh. I see what he means. You want to convert a generic link from a remote instance to your home viewing instance.

        No way exists to do that right now, AFAIK. You would have to search for the community from your local instance, get into that, and search for the post. Another bit of a pain point for lemmy’s growth… if you can’t even link to other Lemmy posts efficiently.

      • SmugBedBug@lemmy.iswhereits.at
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Agreed on the load balancing effects of federation, but like you mentioned there needs to be a way to link posts and comments even.

      • Die4Ever@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        not that I know of, you just have to copy the url of the original post into your search box

        this icon is a link to the original post if you’re not already at that url