[spec] What to do of fragments when there is a redirection

Sean Conner sean at conman.org
Tue Dec 22 23:38:45 GMT 2020


It was thus said that the Great Luke Emmet once stated:
> 
> The question that remains particularly, is what should be the semantics 
> of the fragment for our most prevalent media type - text/gemini?

  So here's a totally off-the-cuff spec I'm pulling out of my nether regions
that seems simple and somewhat robust.

  You have the following item types in Gemini:

	text lines
	link lines
	pre toggles
	heading lines
	unordered list lines
	quote lines

  All of these can be represented by a single letter 'T', 'L', 'P', 'U'
and 'Q' with the header lines as 'H1', 'H2' and 'H3'.  So, some examples:

	foo#h1.1	- first top level header
	foo#h2.4	- fourth second level header
	foo#l.9		- ninth link line
	foo#h3.2l.2	- second link after second third level header
	foo#p.2t1	- first line past second pre-toggle

	gemini://gemini.circumlunar.space/docs/specification.gmi#h1.4h2.2h2
			- references section 3.2.2 2x (SUCCESS) section

  -spc (See?  Very simple)



More information about the Gemini mailing list