So I know about /c/community@example.host for communities and /u/user@example.host for users, but how do I link to individual posts in a way that won’t be a hassle for people in other instances?

8 points

I think that’s what the fediverse icon does (the rainbow hexagonal one) so for your post for example it would be https://lemmy.world/post/94456

permalink
report
reply
8 points
*

As I understand it, the fediverse icon links to the home instance for the community the post was made on. I don’t think there’s currently a mechanism to link a post in a way that consistently resolves to the user’s home server’s version so they can vote and be logged in while viewing it.

permalink
report
parent
reply
8 points

If I click on the fediverse icon on your post I get carried to lemmy.blahaj.zone though. I wanted to link it inside the users’ current instance like /c/ and /u/ do.

permalink
report
parent
reply
1 point

But then wouldn’t that be the default link on the post title?

permalink
report
parent
reply
3 points

Next to that fediverse icon is a regular hyperlink icon, that should take you to where you wanna go, but on your own instance.

permalink
report
parent
reply
7 points

If I right-click copy it, it brings me to https://lemmy.world/comment/128943. It isn’t what I want, I want a way to bring others into this post but inside their own instances.

permalink
report
parent
reply
2 points

I don’t even see that icon on posts (desktop, web), only on comments. So now I’m even more confused! :D

permalink
report
parent
reply
4 points

Update to my own confusion:

  1. You see the rainbow icon on posts that aren’t from your home instance. This icon takes you to the full original URL of that post on the remote instance.

  2. The regular chain link icon on comments does indeed give you a link to a comment via your home instance. But that’s no good if you’re trying to link it agnostically for everyone else.

permalink
report
parent
reply
1 point

Ahhh I was wondering what that was for, thank you

permalink
report
parent
reply
0 points
*

Omg I think I’ve got it. Ill test it by trying to link to the community I found it on, agnostically for anyone to click Edit: its hosted on lemmy.one, and so is my user so I cant test, anyone got results?

permalink
report
reply
1 point

it sort of works, in the sense that it links to the same URL format of “[your instance]/c/meta@lemmy.one

Problem is, the Threadiverse’s link formats aren’t consistent. I’m on Fedia.io, a Kbin instance, and that gives me an error because our communities are on /m/ instead.

permalink
report
parent
reply
2 points

That link crashed jerboa.

permalink
report
parent
reply
1 point

I deleted it moments after posting because I realised it wasnt what op was asking so idk how you saw it lol. As for the crashing, I also use jerboa and the instance agnostic links crashing it seem to be a bug

permalink
report
parent
reply
2 points

Just FYI, I still see your comment, so it may not be as deleted as you think it is.

permalink
report
parent
reply
9 points

I’m case it’s useful, there’s a discussion on linking here: https://lemmy.sdf.org/post/36299

I don’t think there’s any single answer yet though.

permalink
report
reply
1 point

It’s possible to get a post on your local instance by searching the URL for the post on instance it was posted from (the link from the rainbowy button in lemmy’s UI), it would be nice to have some automatic link rewriting, when a post contains such a link.

Unless it already does that? https://lemmy.world/post/94456

permalink
report
reply
13 points

So we’ve figured out what the rainbow and regular link icons do. But that doesn’t answer OP’s question.

I’ve tried linking with just the /post/<ID>, linking with /post<ID>@<instance>, and no luck so far. This must be possible somehow!

permalink
report
reply
3 points

it ought to be something simple like /p/<ID>

permalink
report
parent
reply
3 points

Problem is posts have a different ID on each instance they federate to. It’s a bit of a bugger.

permalink
report
parent
reply
3 points

It seems dumb to me that the fediverse doesn’t use UUIDs

permalink
report
parent
reply
5 points

Seems like its not yet, theres a github issue discussing adding the feature

permalink
report
parent
reply
5 points

Curses! Thanks for the share, will keep an eye on that.

permalink
report
parent
reply

Lemmy.World Announcements

!lemmyworld@lemmy.world

Create post

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Join the team

Community stats

  • 482

    Monthly active users

  • 806

    Posts

  • 37K

    Comments