-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: blog action: commit revision: path_from: revision_from: 8865197c8d2799343da47c1be268fe153f094c2d: path_to: revision_to:
commit 8865197c8d2799343da47c1be268fe153f094c2d Author: epoch <epoch@thebackupbox.net> Date: Mon Feb 14 05:01:08 2022 +0000 looked into more file formats. diff --git a/text_form b/text_form
--- a/text_form +++ b/text_form @@ -86,8 +86,8 @@ I guess it /could/ be done as json if each input was part of an array so the ord like: ``` { "form": { - "action" : "http://thebackupbox.net/cgi-bin/login.cgi", - "method" : "", + "action" : "https://thebackupbox.net/cgi-bin/login.cgi", + "method" : "http:POST", "input" [ { "type": "text", @@ -104,6 +104,26 @@ like: } } ``` +or... +``` +<xml> + <form action="https://thebackupbox.net/cgi-bin/login.cgi" method="http:POST"> + <input type="text" name="user" label="user" description="long string" /> + <input type="password" name="pass" label="I dunno"." description="just an example" /> + </form> +</xml> +``` +I guess if I'm going to do XML-based I'll write a DTD for it... + +could also be in yaml? which I guess would be the examples I did up there. +or maybe toml + +=> https://en.wikipedia.org/wiki/Recfiles +rec file would work too. +... +I've worked my way to RDF and Turtle and N-Triples. +help. +I'm trapped in semantics. ## conclusion
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 09:53:58 2024