From d0d26f92ac7a9c3e430266f5631d4c56fd1ad33a Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 22 May 2023 09:35:48 +0100 Subject: more questions --- questions/questions.lua | 2 +- questions/questions.txt | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/questions/questions.lua b/questions/questions.lua index a0a44ea..fd964e0 100644 --- a/questions/questions.lua +++ b/questions/questions.lua @@ -22,7 +22,7 @@ while line do local aline = F:read("l") while aline and not aline:match("^%-%-%-") do if aline:match("%S") then - a = a .. tostring(escape(aline)) .. "\n" + a = a .. aline .. "\n" else a = a .. '

' end diff --git a/questions/questions.txt b/questions/questions.txt index d4b4ffa..e780b14 100644 --- a/questions/questions.txt +++ b/questions/questions.txt @@ -19,3 +19,23 @@ only to look vaguely aesthetically pleasing. i don't believe any part of it ever had any significance besides that --- +2023-05-22 00:36Z when you what it to when does have what when does to not be have it yet? + why do they call it oven when you of in the cold food of out hot eat the food? +--- +2023-05-22 04:16Z how does one make a questions page such as this one ? + this page contains an html form which, when submitted, sends + your question as a post request to the cgi script /misc/submit-question.cgi. + this script saves the submitted question to a text file on my server. + + i then periodically copy the questions in that file to questions.txt in my site + repo, which i can add the answers to. this file is subsequently processed by + questions.lua + as part of the build process for my site, which generates the page you're looking + at now. + + this is how my questions page works; there are probably a few other ways you + could do it too +--- +2023-05-22 06:57Z mjau mjau (mjauu mew meow :3) mjaumjau, meow? :3c + meow ! +--- -- cgit v1.2.3