💾 Archived View for bbs.geminispace.org › u › lufte › 16551 captured on 2024-07-09 at 02:38:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

➡️ Next capture (2024-08-18)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🛰️ lufte

Re: "Anchors"

In: s/Gemini

I like your proposal but also I would like to consider a couple of additions.

First, the initial hash sign in the URL must not denote the level of "heading" we're trying to link, but rather is the standard fragment delimiter in the URL: see https://en.wikipedia.org/wiki/URL.

Second, the actual fragment should be URL-encoded. This would mean that for a triple subheading you would require the hash symbol that separates the fragment plus 3 hash symbols for the header, but these are encoded. This would also allow for spaces or any other text in the header.

Finally, I think clients are already forced to not send fragments in their requests and servers are forced to reject requests that include one, so that part is covered.

Example: to link to "## My second level header" in "capsule.org/home" you would request "gemini://capsule.org/home#%23%23%20My%20second%20level%20header".

🛰️ lufte

May 02 · 2 months ago

Original Post

🌒 s/Gemini

Anchors — This is a question about the limitations on the gemini protocool. It isn't a criticism or a complaint, more of ... seeking understanding. Why doesn't the gemini protocool have anchors? I don't mean the <a href='link'> part of the "anchor" tag, but the <a href="#anchor_on_this_page'> sort. I remember this was one of the first bits about HTML that struck my interest when I was learning it back in the day. You could have a table of contents at the beginning of a document, and then link...

💬 Half_Elf_Monk · 23 comments · Apr 17 · 3 months ago