Re: entry field in gemtext

On Wed, Sep 8, 2021 at 2:54 PM Vlad Markov <dvoich@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 tangentially
related 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 "10
INPUT" status (and I rarely say that). It avoids an extra round trip,
allows for better client UX, and is probably more intuitive. It's also
easy 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

---

Previous in thread (5 of 12): 🗣️ Stephane Bortzmeyer (stephane (a) sources.org)

Next in thread (7 of 12): 🗣️ mbays (mbays (a) sdf.org)

View entire thread.