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 /
?=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 user
but the last two options are not necessary
I enter xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf into the field of https://lemmyverse.link/ when it asks my home. But the site doesn't accept that perfectly RFC952 compliant name
I've fixed the Apache configuration to properly route requests with Accept: application/activity+json header to the backend, and updated all internal URLs in the database from the internal hostname to the public domain. Now the endpoint returns some JSON as you requested.
and distinguish them with regular expressions at reverse proxy...
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)
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 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.
I enter
xn--e1aghfa.xn--e1aqbccjfc.xn--p1acfinto the field of https://lemmyverse.link/ when it asks my home. But the site doesn't accept that perfectly RFC952 compliant nameI've fixed the Apache configuration to properly route requests with Accept: application/activity+json header to the backend, and updated all internal URLs in the database from the internal hostname to the public domain. Now the endpoint returns some JSON as you requested.
https://grafana.lem.rocks/d/bdid38k9p0t1cf/federation-health-single-instance-overview?orgId=1&var-instance=xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf&var-remote_instance=lemmy.ml
my instance in not in the list of choices. I think that's because it's new and very small.
I don't see my server
xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf
in any of 4 lists of
https://phiresky.github.io/lemmy-federation-state/site?domain=lemmy.ml
The page
https://phiresky.github.io/lemmy-federation-state/site?domain=xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf
shows that I am alone.
В статье полностью отсутствуют факты. Если бывает "wishfull thinking", то это оно.