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

View Raw

More Information

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

<-- back to the mailing list

[SPEC-CHANGE] lang parameter, minor line type changes, clarifications...

jzs jzs at sketchground.dk

Sun Jun 14 20:24:05 BST 2020

- - - - - - - - - - - - - - - - - - - 
Multi-user sites will be trickiest of all and will require users to
either bother the admin, or for servers to implement something like
Apache's .htaccess files.
Something like .htaccess could work. This morning I was also thinking of it being in the file name. Then it could be on a per file basis like "index.fr.gmi" would be sent as "index.gmi" with "lang=fr" in the response header.int 80h

One could also let the server interpret gmi files and strip the first x lines in each file. You could use pandoc title block, multimarkdown metadata or yaml front matter. That way you can also insert date etc to automatically generate for example atom feeds. Of cause these "file headers" will be stripped before sending the file to the client.Its really up to the server on how to deal with it.

/Jens.-------------- next part --------------An HTML attachment was scrubbed...URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200614/5c1391c0/attachment.htm>