💾 Archived View for bbs.geminispace.org › u › jsreed5 › 20426 captured on 2024-12-17 at 15:35:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

Comment by 🚀 jsreed5

Re: "geminiprotocol.net: Gemini app developer's guide published..."

In: s/Gemini

Here's a neat trick for CGIs I forgot to mention. Sometimes you may want to send a value as a query string but only have that value act on a certain location. For example, you may want to edit just the Nth line of a file, or return the Nth page of search results. One way to do this is to build a base CGI file, then create a symlink to the file, with the link name being the location you want to act on. The CGI can then use its own filename as a location parameter, without the user needing to specify a location in the query along with a value. I use this trick in both my todo.txt service and the OEIS mirror.

🚀 jsreed5

Oct 05 · 2 months ago

Original Post

🌒 s/Gemini

— geminiprotocol.net: Gemini app developer's guide published

Thank you @Solderpunk for giving me the chance to contribute some official Gemini documentation in the form of a new developer guide. I look forward to hearing from @Acidus, @mbays, @gritty, @stack and all other Geminauts who have been working on interactive Gemini apps! I'm sure we can keep improving this guide further with your insights and/or comments and corrections.

💬 skyjake [mod...] · 9 comments · 10 likes · Sep 08 · 3 months ago