this post was submitted on 13 Jun 2023
53 points (100.0% liked)

Lemmy.World Announcements

28381 readers
2 users here now

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 [email protected] 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

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

So I know about /c/[email protected] for communities and /u/[email protected] for users, but how do I link to individual posts in a way that won't be a hassle for people in other instances?

top 29 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 13 points 1 year ago (2 children)

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!

[โ€“] [email protected] 5 points 1 year ago (1 children)

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

[โ€“] [email protected] 5 points 1 year ago

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

[โ€“] [email protected] 3 points 1 year ago (1 children)

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

[โ€“] [email protected] 4 points 1 year ago (1 children)

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

[โ€“] [email protected] 3 points 1 year ago (1 children)

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

[โ€“] [email protected] 3 points 1 year ago (1 children)

Yeah I wonder if the logic is that since instances don't know about each other (until, of course, they do) it would be possible to have duplicate IDs betwixt them so would be inherently unreliable. Idk, hopefully all of this gets sorted out by someone way smarter than me.

[โ€“] [email protected] 2 points 1 year ago

UUIDs are a computer science concept where you use some math and some black magic to guarantee that you have generated a unique identifier, even in an environment with federation. This concept predates the fediverse since this is needed for lots of different use-cases. Basically anything with horizontal scaling, orchestration, or p2p needs something like this in order to prevent collisions.

[โ€“] [email protected] 9 points 1 year ago

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.

[โ€“] [email protected] 7 points 1 year ago (4 children)

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

[โ€“] [email protected] 8 points 1 year ago (2 children)

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.

[โ€“] [email protected] 3 points 1 year ago (1 children)

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

[โ€“] [email protected] 6 points 1 year ago (1 children)

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.

[โ€“] [email protected] 5 points 1 year ago

Someone here please correct me if im wrong, but I dont think its possible yet. I just found this github issue discussing adding this feature

[โ€“] [email protected] 1 points 1 year ago

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

[โ€“] [email protected] 8 points 1 year ago* (last edited 1 year ago)

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.

[โ€“] [email protected] 2 points 1 year ago (1 children)

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

[โ€“] [email protected] 4 points 1 year ago

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.

[โ€“] [email protected] 1 points 1 year ago

Ahhh I was wondering what that was for, thank you

[โ€“] [email protected] 4 points 1 year ago

Likely there is no way yet. Even the clean way to link back to your instance will throw an error, if the previous connection was not yet made.

[โ€“] [email protected] 1 points 1 year ago

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

[โ€“] [email protected] 0 points 1 year ago* (last edited 1 year ago) (2 children)

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?

[โ€“] [email protected] 2 points 1 year ago (1 children)
[โ€“] [email protected] 1 points 1 year ago (1 children)

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

[โ€“] [email protected] 2 points 1 year ago

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

[โ€“] [email protected] 1 points 1 year ago

it sort of works, in the sense that it links to the same URL format of "[your instance]/c/[email protected]"

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.

load more comments
view more: next โ€บ