Search forms and server side search scripting?
lars.nooden at gmx.com
Thu Feb 18 08:31:55 GMT 2021
On 2/18/21 10:21 AM, Remco wrote:
> 2021/02/18 09:07, Lars Noodén:
> Here's an example of a very basic CGI script written in Ruby:
> It triggers a "10" response when there's no query set, otherwise it
> returns a "20" response with links to all the files matching the query.
> In this case it simple greps through the gemini directory.
> Note, it doesn't do query string decoding so, depending on the server,
> you might have to do some for "special" characters.
Thanks! I appreciate it.
More information about the Gemini