💾 Archived View for bbs.geminispace.org › u › freezr › 19629 captured on 2024-12-17 at 15:34:59. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "geminiprotocol.net: Gemini app developer's guide published..."
Thank you guys you're the best! 👏
Sep 13 · 3 months ago
🕹️ skyjake [OP/mod...] · Sep 15 at 18:07:
Thanks for the feedback so far, everyone! When I find a suitable moment I'll make a few edits and additions to the guide. This will probably be after the Lagrange v1.18 release, though.
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.
— 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