Michael Lazar lazar.michael22 at gmail.com
Thu Sep 9 14:59:02 BST 2021
- - - - - - - - - - - - - - - - - - -
On Wed, Sep 8, 2021 at 2:54 PM Vlad Markov <dvoich at aim.com> wrote:
On some pages I see an entry field similar to an html form. I did not see any documentation explaining how to create and process an entry field. Can someone point me in the right direction?
Thanks
Greetings! This does not answer your question but it's tangentiallyrelated and some might find it interesting.
A while ago I designed a protocol that's similar to gemini called"spartan". It borrows the gemtext document format and adds one"unofficial" line type for prompting input [0]. It looks like this
=: /link Enter your input
I honestly think this is a flat-out improvement over gemini's "10INPUT" status (and I rarely say that). It avoids an extra round trip,allows for better client UX, and is probably more intuitive. It's alsoeasy to replicate the gemini INPUT response behavior. For example,
10 Enter your input
would become
20 text/gemini =: . Enter your input
Best,Michael
[0] https://portal.mozz.us/spartan/spartan.mozz.us/specification.gmi#4-document-format