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

View Raw

More Information

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

<-- back to the mailing list

Lang parameters

Sandra Snan sandra.snan at idiomdrottning.org

Mon Aug 31 05:08:19 BST 2020

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

Right, thank you all for your answers so far!♥

I guess what I should've asked is to what extent servers already can dothis. Sean mentioned GLV-1.12556 but it's not in sample-conf.lua as faras I can see. I guess with gig writing a custom router is also anoption.

I just don't wanna be reinventing any existing wheels.

I have a collection of texts in a mix of languages. Each file is writtenin a single language.

I'm OK with a sidecar per file, a sidecar per directory, one big sidecarfor the entire site, or with renaming the files: for example the servergets the request for foo.gmi, it finds foo.en.gmi and serves that up asfoo.gmi in English. (Or a similar convention, foo.gmi-en, foo-en.gmi,foo.en, I can adapt my data to fit what the server wants.) For thesidecar solutions, I obv don't want to serve up those sidecars viaGemini requests, they're for the server's eyes only.

Any server so far do any one of those four things (with an alreadyexisting module, plugin, configuration, or out of the box)?

I understand that Gig or GLV-1.12556 can do it with scripting; doesthose scripts already exist?

This isn't a showstopper for me getting on Gemini, I'm plowing ahead andjust not putting any language parameters in, but, I'm almost done withthe "generating the site" part and am about to choose a serverimplementation.

If it doesn't exist I'll put adding the language tags very far down onthe "someday/maybe" list. So exhausted RN...♥