I saw that messages have different identifiers on different servers. What should I write in my text to make the hyperlink to work on all servers?
https://лемми.опенсорс.рус/post/15
https://lemmy.ml/post/49064481
15 ≠ 49064481
The site https://lemmy.ml/ is unreachable from my computer because of government politics. I want to refer to the copy of message, which is downloaded into my instance. But it have a new ID in my DB.


I believe that the original id is stored somewhere as well since there is i fediverse icon that takes one to the original. You can probably use that id when searching your db.
I expected some special syntax like
post:id!community@domainOr
ap_id?post/15@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acfHere
ap_idis the name of part of URI, which maps tohttps://lemmy.ml/post/ap_id
and performs all the magic, which lemmyverse.link does
Or
https://lemmy.ml/post/49064481?15@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acfif developers will integrate it into lemmy itself
?=post/15@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf- any ap_id?!community@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf- any community?usernick@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf- any userbut the last two options are not necessary
I don’t believe those exist, it would be cool though
in another software it’s possible to use:
p?ap_id@server
c?conf@server
u?user@server
where this local links will be added to URI ending with trailing
/i.e. https://engine.tld/application/objtype/NNNNNID/
will be completed with
https://localserver.tld/applicationname/objtype/NNNNNID/p?ap_id@remoteserver.tld
https://localserver.tld/applicationname/objtype/NNNNNID/c?conf@remoteserver.tld
https://localserver.tld/applicationname/objtype/NNNNNID/u?user@remoteserver.tld
This way the local links will allow to setup redirects to any type of objects.
(and without the special syntax and special parsing)
https://localserver.tld/applicationname/objtype/NNNNNID/=ap_id@remoteserver.tld https://localserver.tld/applicationname/objtype/NNNNNID/!conf@remoteserver.tld https://localserver.tld/applicationname/objtype/NNNNNID/user@remoteserver.tldand distinguish them with regular expressions at reverse proxy…
I created this topic on my own instance. It knows original ID, but doesn’t know ID-s in all other servers in federation.
I want to write a link in such a way, that lemmy substitute it with the reference to the local copy of message on lemmy.ml server.
But now lemmy just shows an original link to my server.
ooh like you can link it and people can click a link across the fediverse while remaining on their home instance. I would really like that as well.