Spyke
general·General Discussionbyitsnotlupus

normalization of URLs across instances?

I'm brand new here, so I apologize if this is already well-trodden ground.

Is there an existing mechanism that would allow to convert URLs that point to a different instance to become instead federated links from the current instance?

For example, at https://lemmy.world/post/503056, there's a comment with a link that points to https://kbin.social/m/[email protected]/t/87275/Wagner-Group-captures-headquarters-of-the-Southern-Military-District-and

Ideally, that URL would be transformed somewhere between its pasting in the original comment and my loading it in my browser into something more like https://lemmy.world/post/502058

Is that something that exists, in whole or in part?

View original on lemmy.world
lemmy.world

Short answer is no. We can manage relative links to communities and users right now, but because posts have a different ID depending which instance they're being viewed through it's a bit trickier to figure out a system.

I'm sure the boffins are on it though!

2

Thanks, I guess that's reasonable.

For now, I'll take a stab at hacking something with some homegrown userscript.
I don't think that can ever be a general solution, but maybe eventually it'll approximate usefulness.

2

You reached the end

normalization of URLs across instances? | Spyke