💾 Archived View for rawtext.club › ~sloum › geminilist › 002277.gmi captured on 2020-09-24 at 03:13:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

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

<-- back to the mailing list

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 isalso what you need to do if you want to encode the answers in the URL).

/story/123/comment/add

20 text/gemini\rHello! We're going to ask you for a temporary certificate to establisha session, your name, and the comment, OK? If you're ready, click thelink below!=

ready

/story/123/comment/ready

60 Please tell your client to generate a temporary certificate\r

/story/123/comment/ready

20 text/gemini\rExcellent! 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\rExcellent, Alex. Thanks! Now for the comment. Please remember that youhave 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\rBla bla bla...