Scroll to top

Feb 3, 2021

The home on the web of Colin Walker.
Find out more on /about, say /EHLO, or tune in to the daily RSS feed.

Feb 3, 2021#p3

While showing my daughter how the blog works she asked if I was going to do anything with it, as in make it available for other people to use. She even mentioned "the sordid topic of coin." 1

There's no way I would consider the code either good (it's U.G.L.Y) or secure enough to let other people trust their blogs with it – not to mention that it specifically tailored to my own needs – but her comments did get me thinking. As a result I've been working to make things a bit more ... generic.

The site title and name for the "About" link in the footer, along with the database tables, are defined as constants in the config file rather than explicitly named within the code. I've also got the SQL commands to create the required tables in a file.

I'm trying to think what else could be automated in this way. For it to be truly generic the other links in the footer (Join Me and Colophon) would need to be changed. I would also have to remove the Journal streak indicator, as that's purely tied to my site, but that's easy.

It's an interesting exercise.


  1. One of my favourite lines from the movie "Death Becomes Her