Should you try the method of uploading via shell script mentioned at https://neocities.org/api, you can do the same thing using a for loop. Rather than embed shell script in a comment, here's a link: https://kaa.neocities.org/Program/multiup.sh.txt.
Given that it can be done in unix shell script, it can definitely be done in Plan 9 rc script, and probably a bit more elegantly.
The closest you may get to raw txt and images would either be to embed all the text in a tag and add images in their own tags, which you definitely do not want, or to link to them separately from some other HTML, which you probably do not want. The best solution I have found is to have written some shell script and C to generate HTML for pages that it would otherwise be laborious to manually create.
that would actually be a really cool idea! make it an actual man page. i love the stuff you've put on your website btw and i haven't even had the time to check out everything
I implore you to continue your MSPaint journey. I like what you've done so far and think you may make increasingly interesting things through purely digital methodologies. https://vartiwellfinger.neocities.org/joyeux.html
Regarding naming scheme, sorting by date has been most practical for me. Naming files YEAR-MM-DD naturally sorts them oldest to newest, and when the output is reversed it is then newest to oldest. For that reversing, I use busybox's `sort -r`.
Given that you seem to dislike writing HTML, I think that running a single command would be a nicer experience than writing out another a tag and a br every time you write something new.
Thanks. But the problem is that I constantly change old posts. And I don't want to change the date.
Have you tried https://github.com/sunainapai/makesite in which you can declare the blog entryβs date?
>>zinportal That's too much. kaa recommended the API, because it is just an URL.
I thought about this again. The main problem is about the data structure. At the surface, I'm using a data structure similar to a blockchain. Instead of a linked list, I use an array though.
A file content may change. But a (file, title) pair will not. It is ordered by date. I only add a pair, and don' t do another operation.
By this, I don't need to consider another operation. I only need to add. And I can easily add by simply writing "(a href=$file)$date $title(/a)(br)".
However, suppose that I start to sort. Then I need to change the data structure. It will have another operation. Like removing. This will make the problem complex.