💾 Archived View for rawtext.club › ~sloum › geminilist › 005340.gmi captured on 2023-11-14 at 10:10:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

Search forms and server side search scripting?

Lars Noodén lars.nooden at gmx.com

Thu Feb 18 08:07:31 GMT 2021

- - - - - - - - - - - - - - - - - - - 

I've looked at the Gemini specification [1] and wonder where I can findinformation about receiving search or other input from the client.Perhaps I am missing something obvious, as I see that there are agrowing number of interesting, searchable capsules [2] but have not yetseen how to do that. My goal is to implement a local search functionfor a capsule being built.

So I have two questions,

1) What markup should a gemini page contain to trigger an input dialog,and where may I see some sample code or pseudo code for the server-side? If anyone has any sample- psuedo code to share, that would be wonderful.

2) Which servers are light yet can still handle referrals to scripts, oris that best handled by a separate package and let the server deal withstatic pages only?

/Lars

[1] https://gemini.circumlunar.space/docs/specification.html

[2] e.g. gemini://gemini.omarpolo.com/cgi/gempkg/search