summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-05-22 09:35:48 +0100
committerubq323 <ubq323@ubq323.website>2023-05-22 09:35:48 +0100
commitd0d26f92ac7a9c3e430266f5631d4c56fd1ad33a (patch)
tree1652643b6507e11a32275d86f383f3039d547614
parenteaae3fa608f3da4aed54ace321b01f4910c46b05 (diff)
more questions
-rw-r--r--questions/questions.lua2
-rw-r--r--questions/questions.txt20
2 files changed, 21 insertions, 1 deletions
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 .. '<p>'
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
+ <a href="//g.gh0.pw/ubq323.site/tree/questions/questions.lua">questions.lua</a>
+ 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 !
+---