65
submitted 5 months ago by x4740N@lemm.ee to c/asklemmy@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] kionite231@lemmy.ca 2 points 5 months ago
[-] bionicjoey@lemmy.ca 5 points 5 months ago

That link led me to a thread on /generaldiscussion where a user posted about how they want their teacher to dominate them sexually.

We really need to figure out a canonical way of linking to content in the fediverse.

[-] CMLVI@lemmy.world 4 points 5 months ago

I think that was the intent. OP is also the OP of that thread lmao. Maybe he also just wants us to know?

[-] bionicjoey@lemmy.ca 6 points 5 months ago

Oh shit. I assumed it wasn't working properly since I've seen too many examples of linking not working

[-] tal@lemmy.today 2 points 5 months ago

I've never seen a problem with links not going to the right post.

But there is a problem that you can create a link to a community that will be visible via a user's home instance. Here's an example:

!world@lemmy.world

Any user, no matter where, will get hyperlinked to a "local" view of that community via their own instance.

But there's no analogous syntax to create compatible links for posts. If you just slap an URL in, it links directly to the view of the post on the instance that was linked to.

I know that it's possible to do this mechanically, because the Firefox "Instance Assistant for Lemmy & Kbin" addon adds a button in the sidebar of posts on remote instances to "view this post on your home instance", and it works. But there's no native syntax in lemmy or kbin to generate a link for someone else's client to do that.

[-] bionicjoey@lemmy.ca 2 points 5 months ago

But there's no analogous syntax to create compatible links for posts. If you just slap an URL in, it links directly to the view of the post on the instance that was linked to.

Yeah that's my problem. Compounded with the fact that the instance will try to load its own version of the link which may end up somewhere completely different. There's a decent chance it's an issue with Jerboa as well on my end. I think the only reason it actually worked here was because the weirdo I was responding to is on the same instance as me.

[-] tal@lemmy.today 2 points 5 months ago

Compounded with the fact that the instance will try to load its own version of the link which may end up somewhere completely different.

...I don't see how.

If someone links to a post on a remote instance, your home instance won't rewrite the URL to point at a local view of the post. It'll just have a link to that remote instance.

Like, the problem that should come up isn't that you see something random, but rather that you're not on your home instance, which is obnoxious.

If you're manually copying post IDs and changing the instance name, yeah, that won't work.

There’s a decent chance it’s an issue with Jerboa as well on my end.

I mean, maybe Jerboa tries rewriting URLs itself and there's some kind of bug, I guess. I could be wrong, but the last time I was using Jerboa, which was some time back, I think that it might have opened them in my web browser instead of the client.

checks to see what Eternity does

It looks like Eternity goes to the remote instance, but does so in Eternity.

The Firefox addon does it flawlessly, in my experience, so I can't imagine that there's any kind of great complexity in the mapping.

I don't know if there's a way to link, in a universal way, to your home instance's view of a comment, though. Just a post. The Firefox addon can't do that.

this post was submitted on 06 Jun 2024
65 points (92.2% liked)

Ask Lemmy

26875 readers
571 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS