Pondering interfaces over the Gemini 1x responses (was: CGI)
Alex Schroeder
alex at gnu.org
Sun Jul 19 19:51:23 BST 2020
On Sun, 2020-07-19 at 17:50 +0200, mbays at sdf.org wrote:
> *Except* that you can only have one line of output between each line
> of
> input, because 10 doesn't allow a body. This is rather limiting.
>
I think this can work because you use redirects in between (which is
also what you need to do if you want to encode the answers in the URL).
/story/123/comment/add
20 text/gemini\r
Hello! We're going to ask you for a temporary certificate to establish
a session, your name, and the comment, OK? If you're ready, click the
link below!
=> ready
/story/123/comment/ready
60 Please tell your client to generate a temporary certificate\r
/story/123/comment/ready
20 text/gemini\r
Excellent! First your name, then the comment, OK? If you're ready,
follow the link below.
=> name
/story/123/comment/name
10 Your name? \r
30 gemini://example.org/story/123/comment/name-ok
/story/123/comment/name-ok
20 text/gemini\r
Excellent, Alex. Thanks! Now for the comment. Please remember that you
have about 900 characters. Follow the link below when you're ready.
=> comment
10 Let's have that comment!\r
30 gemini://example.org/story/123/comment/comment-ok
/story/123/comment/comment-ok
All-right! Got your comment. This is what we're going to save:
"I love your post. Viagra cheap! -- Alex"
Click the link below to save.
=> save
30 gemini://example.org/story/123
20 text/gemini\r
Bla bla bla...
More information about the Gemini
mailing list