From 4ace83da3951c37f18fbb9676542239be4d051ee Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Fri, 13 Jun 2025 01:13:52 -0600 Subject: various minor changes + blog post a bunch of minor alterations, of particular import is the new blog post and the IP banning function I added to the guestbook --- blog/posts/blog_questions/index.md | 55 +++++++++++++++++++++++++++++++++++++ blog/posts/blog_questions/index.php | 1 + 2 files changed, 56 insertions(+) create mode 100644 blog/posts/blog_questions/index.md create mode 100644 blog/posts/blog_questions/index.php (limited to 'blog/posts/blog_questions') diff --git a/blog/posts/blog_questions/index.md b/blog/posts/blog_questions/index.md new file mode 100644 index 0000000..4f6ac6b --- /dev/null +++ b/blog/posts/blog_questions/index.md @@ -0,0 +1,55 @@ +I was clicking around [some other blog](https://blog.kalechips.net/post/2025-01-11-Blog-Questions) and found this fun little list of question prompts for foolish, naive bloggers such as myself to answer publicly, thus casually exposing our secrets and opening ourselves up to blackmail and doxxing. Naturally I decided it would be cool to do it myself. + +Apparently someone's supposed to tag you in these things, but it's my blog and it's not like anyone's gonna stop me, so I'm doing it totally unsolicited, and if you don't like it you can pound sand, suck a lemon, and other such whimsical idioms. + +Conveniently, this also serves the purpose of the obligatory "how my CMS works" post I've been meaning to write for the past couple months. + +## Why did you start blogging in the first place? + +Like many of the things on my website, I initially started a real-ass proper we-blog because it seemed like a cool thing to put on my website, and it was a good place to put a style of writing that didn't really feel suited to the various microblogging platforms I already had a presence on. I kept doing it because, as it turns out, I sometimes have a lot to say about something. Most often computer toucher shit. + +## What platform are you using to manage your blog and why did you choose it? + +To call the thing I've built here a "platform" would be a little generous, I think, but it is pretty interesting, and possibly quite unorthodox. + +The backend for my blog is built around its RSS feed, which is to say, the authoritative source for all the metadata for each blog post is an Atom feed that I write by hand. The PHP script that renders the index page is essentially just a glorified RSS reader for just that one feed. + +The posts themselves are stored as Markdown files with a smattering of HTML mixed in for the really custom stuff, and there's a second PHP file that renders them using a third-party PHP Markdown parser called [Parsedown](https://github.com/erusev/parsedown) (which, fun fact, is also responsible for the Markdown support in the comment section). The only unfortunate thing here is every markdown file has to be accompanied by a stub index.php that just `include`s the main post rendering script, but it's not like I ever have to touch those so it's fine. Here, I'll put all the code that's in every single one right here: + +``` +