💾 Archived View for rawtext.club › ~sloum › geminilist › 006149.gmi captured on 2023-11-04 at 13:29:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

CGI programs and the gemini protocol

Frank Jüdes Frank.Juedes at linux4specialists.com

Fri Mar 19 21:30:21 GMT 2021

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

Hi fellow Geminauts,

i am fairly new to the gemini protocol, but already like the simplicity of everything, compared to the complexity of "modern" websites.

Currently i am using the Jetforce server and several clients (Kristal, Lagrange, Geminaut) and trying to wrap my head around the /input/ status-code:

* Upon first invocation my cgi-script figures out that the /QUERY_STRING/ is empty and responds with /10 Please enter some data/ * The client is prompting for some data and re-requesting the URL with the data attached: [URL]?Some Data * My CGI program detects that there is some data in the URL and responds with /10 Please enter some more data/ * Upon which the client asks me to enter some more data and re-requests the URL, but only with the /some more data/ attached to the URL The data that was already attached to the URL will be replaced with the new data.

Is that the intended functionality?

It is only possible to use one parameter?

That definitely would make parsing the URL somewhat easier, but would require some creativity in the CGI if more than one parameter is needed.

Can somebody please explain this to me in a nutshell? Thank you very much in advance for your help.

Best regards from Charleston (WV),      Frank/2

-- ------------------------------------------------------------------------Frank Jüdes2814 Four Mile RoadCharleston, WV 25312, USACell: +1-713-885-4421-------------------------------------------------------------------------------------- next part --------------An HTML attachment was scrubbed...URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210319/43f57460/attachment.htm>-------------- next part --------------A non-text attachment was scrubbed...Name: Frank_Juedes.vcfType: text/x-vcardSize: 253 bytesDesc: not availableURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210319/43f57460/attachment.vcf>