💾 Archived View for rawtext.club › ~sloum › geminilist › 005342.gmi captured on 2023-11-04 at 14:02:22. 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: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:
gemini://rwv.io/src/search
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.