💾 Archived View for rawtext.club › ~sloum › geminilist › 001552.gmi captured on 2020-09-24 at 01:48:28. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

<-- back to the mailing list

[ANN] GemiNaut 0.8.4 released

Luke Emmet luke at marmaladefoo.com

Thu Jun 11 17:48:14 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 11-Jun-2020 17:40, Petite Abeille wrote:

On Jun 11, 2020, at 17:52, Luke Emmet <luke at marmaladefoo.com> wrote:
- audio (mp3, ogg, wav...)
- images (png jpg svg ...)
- documents (pdf html doc...)
- binary (gz tar zip...)
- video (wmv mov mp4...)
There are 10 main media types defined [1]:
• application
• audio
<snip>
For the ones you don't identify, application/octet-stream is a good default (i.e. binary) [2].
There are 3 levels of heuristic you can apply:
(1) last path segment extension
(2) response content type
(3) content signature [3]Thanks for the links. At the stage I am providing the UI hints is when rendering the page, before the user has clicked on anything, so I cannot get the content type or content signature. But once you start getting the content you definitely have more to go on, when deciding what to do.

My main drive at this stage was to cover the fat end of the extensions actually in use, as helpfully detailed by GUS:

gemini://gus.guru/statistics

Best wishes

- Luke