1 hour ago · Tech · 0 comments

Status updates and enforcing the crispiest-possible 88x31 badges across the web Yesterday afternoon, I spent some time creating a new 88x31 badge for my website footer. In case you missed my last post, I’m in the midst of migrating servers, and one of the things I migrated was my status page, which pings each of my websites once per minute and reports whether the request was successful, and if so, how long the request took. Each website is represented on the front end by a graph of response times across the last hour as well as 60 red or green-coloured bloops, which represent the successes of the last hour’s pings. So the idea was to create a dynamic 88x31 badge that relayed information from my status page by displaying some number of the most recent bloops. I set out achieving this by first creating the 88x31 image with some blank areas that I could fill in later with green or red, depending on the status of each bloop, and the next step was to create a short PHP script to consume…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.