πΎ Archived View for gemi.dev βΊ gemini-mailing-list βΊ 000999.gmi captured on 2024-03-21 at 18:14:55. Gemini links have been rewritten to link to archived content
β¬ οΈ Previous capture (2023-12-28)
-=-=-=-=-=-=-
Hello, I'am looking to make an input field on a gemini capsule page like the gemini search engine, but i've read the gemtext doc and i cannot find how to do that ... can you point me to some doc on how to do this ? regards
bussiere bussiere <bussiere@gmail.com> writes: > Hello, > > I'am looking to make an input field on a gemini capsule page like the gemini search engine, > > but i've read the gemtext doc and i cannot find how to do that ... > > can you point me to some doc on how to do this ? > > regards text/gemini doesn't have anything like a text input. Instead, you put a link to a page that replies with the 10 or 11 status code and that will make the browser showing a text field and send what the user typed as query part of the url. Using geminispace.info as example, they provide a link "search" that looks like this: => /search Search When the server receives a request for ``/search'' it replies with 10: % printf "gemini://geminispace.info/search\r\n" | \ nc -c -Tnoverify geminispace.info 1965 10 Search query % usually browser will pop up a text field in this case, and then visit the page /search?<user query here> So, if you search for "kittens" the browser will visit the page gemini://geminispace.info/search?kittens HTH Omar Polo
Maybe this could evolve to allow application with form|multiple entry to be built.
defdefred writes: > Maybe this could evolve to allow application with form|multiple entry to be built. It intentionally doesn't do that. Input in Gemini is more similar to search items in gopher, or the <ISINDEX> tag in HTML 1. -- Jason McBrayer | βStrange is the night where black stars rise, jmcbray@carcosa.net | and strange moons circle through the skies, | but stranger still is lost Carcosa.β | β Robert W. Chambers,The King in Yellow
---