this post was submitted on 03 Nov 2023
1326 points (99.3% liked)
Fediverse
28195 readers
156 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, this would be possible (and not too hard technically either). But all instances would have to agree to link this instance as canonical.
You'd also want to add a feature where you can set you home instance where this canonical instance would redirect you (perhaps even automatically). Home Assistant does something like that.
What pisses me most about Lemmy is that each instance has its own post IDs which means that crosslinking and switching instances based purely on URLs is impossible.
IMO posts should have random GUIDs for IDs; that would help a ton with these kinds of issues. It'd then be trivial for Google to detect same content (if they wish) this way
At first I was thinking a GUID might be impossible because of federation, but a simple implementation might be to use the post ID from instance the community lives on
So something like
Display https://lemmy.ca/c/cats/123444 for
lemmy.ca/post/123444
Display https://lemmy.world/c/cats@lemmy.ca/1234444 for
lemmy.world/post/98736
The point of random GUIDs is that there are so many that it's effectively impossible to generate duplicates just by random chance. They'd be perfect for this.
The initial instance picks it, and then the federated instances use it.
Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !cats@lemmy.ca, !cats@lemmy.ca/1234444
This bot needs a "that was intentional, delete your comment" option