2 ms·
Yes, rip out all the advanced coding skills and simply do it the way it was originally intended. I have a single php file with a textarea. It creates pages or
by econ 2y ago
Yes, rip out all the advanced coding skills and simply do it the way it was originally intended.
I have a single php file with a textarea. It creates pages or updates them. The textarea only displays the article. Everything above and below is removed and added again. When publishing it adds the article to the index.html archive-2025.html and tagname.html pages. I haven't bothered automating removal. If it ever happens I'll do it by hand.
The search engine is a bit odd, it is a 26x26 list of raw files named aa.html ab.html each bit in those refers to an article. If you type foobar it loads fo oo ob ba and ar.html then performs and AND on the files. What html's remain are loaded and searched for foobar.
I should really store everything in a db in stead. (Just for searching)
Edit: near zero maintenance over two decades. One instance where the host upgraded php and the editor stopped working but the website worked just fine so it doesn't really count.