đž Archived View for gemi.dev âş gemini-mailing-list âş 000339.gmi captured on 2024-08-19 at 00:18:48. Gemini links have been rewritten to link to archived content
âŹ ď¸ Previous capture (2023-12-28)
-=-=-=-=-=-=-
A few sites out there offer both Gemini and web access. That's cool. It's a bridge to Gemini space. At first, as a developer who had written just such a tool, I was exasperated: should I be linking to Gemini URLs or to web URLs, or both? Or translate them automatically in the background? It turns out, this is not required. Just now, for example, I added link like the following: => //flounder.online/ Flounder, for simple web people The magic of URLs is that the actual target depends on what you're looking at: If you're looking at https://transjovian.org:1965/gemini/page/Sites then the link goes to https://flounder.online/ and when you're looking at gemini://transjovian.org/gemini/page/Sites then the link goes to gemini://flounder.online/. Now I'm just taking extra care such that as many URLs as possible are reachable using either scheme. If they are, then I can link to these resources without specifying a scheme and it'll just work. Cheers Alex
Quoting Alex Schroeder (2020-08-24 06:24:36) > It turns out, this is not required. Just now, for example, I added link > like the following: > > => //flounder.online/ Flounder, for simple web people > > The magic of URLs is that the actual target depends on what you're > looking at: If you're looking at > https://transjovian.org:1965/gemini/page/Sites then the link goes to > https://flounder.online/ and when you're looking at > gemini://transjovian.org/gemini/page/Sites then the link goes to > gemini://flounder.online/. Ah, this is awesome -- I never knew this was part of the URL spec. Glad you're enjoying my site :) Alex
Happy you're seeing this Alex! Sounds like you should encourage your users to do flounder URLs like that, or potentially convert them to links like that yourself. makeworld ??????? Original Message ??????? On Monday, August 24, 2020 10:20 AM, alex wennerberg <alex at alexwennerberg.com> wrote: > Quoting Alex Schroeder (2020-08-24 06:24:36) > > > It turns out, this is not required. Just now, for example, I added link > > like the following: > > => //flounder.online/ Flounder, for simple web people > > The magic of URLs is that the actual target depends on what you're > > looking at: If you're looking at > > https://transjovian.org:1965/gemini/page/Sites then the link goes to > > https://flounder.online/ and when you're looking at > > gemini://transjovian.org/gemini/page/Sites then the link goes to > > gemini://flounder.online/. > > Ah, this is awesome -- I never knew this was part of the URL spec. > Glad you're enjoying my site :) > > Alex
Quoting colecmac at protonmail.com (2020-08-24 07:25:01) > Happy you're seeing this Alex! > > Sounds like you should encourage your users to do flounder URLs like that, > or potentially convert them to links like that yourself. > > makeworld I just updated the documentation pages to reference them as much as I can! Alex
---