Xteink X4 eBook Reader

The Xteink X4 is a brand new eReader with a difference – it is tiny, about the size of an iPhone. Designed for reading on the go, this nifty little device is small enough to shove in a pocket and take with you everywhere. In this short video I unbox the device and take a look as to what’s included.

Having only received the device yesterday I haven’t spent much time with it but I can really see the X4 becoming part of my EDC. I will report back in a few weeks when I have spent more time … Read the rest

Setting a Bluesky Post’s Language with php2Bluesky

A while back I pushed an update to php2Bluesky that allows for multiple language posts and forgot to post the change so I am correcting that now!

Setting the language

By default the language of your posts is set to English but you can override this in one of two ways. Either specify the language when creating the instance of php2Bluesky or pass it when posting. It must be an array even if you are passing a single language.

Setting the Language Globally

If you want all your posts to be labelled in a language other then English then you … Read the rest

Update to WordPress Simple Stats

For my February 12 Apps in 12 Months project I wrote a script to produce some simple statistics from a WordPress installation. Looking back at it I realised that it only produced stats for all time and not the previous year, which is what I wanted.

I revisited the code and added in some counts for the previous year and updated the output. You can grab the latest code here but I came across an issue which I thought I would cover here as it might be useful for others.

504 Gateway Timeout

When running the script for another … Read the rest

12 Apps in 12 Months – a Review

Late 2024, I decided that I was going to provide more focus for my development in 2025, and to that end, I would attempt one new project a month, and so 12 apps in 12 months was born.

What did I do?

I very much stuck to my knitting with these projects as every one of them was written in a language that I know very well: PHP. Ten out of the 12 also used a third-party API to source data that was then used as the basis of the project.

Here’s a full list of all the projects completed … Read the rest

Vibe Coding a WordPress Plugin

I’ve written a lot of code this year and the vast majority of it I did without too much help. However, I did turn to AI (mostly ChatGPT) when I needed either a specific function written or some help with a particular issue.

What I hadn’t done was use AI to write a complete program without any code from me. I believe that this is termed “Vibe Coding“, named Collins Dictionary’s Word of the Year for 2025. Not a phrase that particularly appeals to me but I don’t get to choose.

Going with the Flow

Then, yesterday, … Read the rest

Transfering a Smart Card to Apple Wallet

On a recent trip to Washington DC we discovered the Metro’s smartcard “SmarTrip” which can be used to tap-in and tap-out at stations and on buses too. This was pretty convenient, but it meant yet another plastic card to carry around and potentially lose.

However, there were signs up saying that it was possible to transfer the balance from a physical card to your Apple Wallet (or Google equivalent if you were that way inclined). The instructions were simple enough:

To transfer your SmarTrip card to Apple Wallet, open the Wallet app on your iPhone, tap the “+”

Read the rest

Automatic WordPress Plugin Updates

I wrote a plugin for our local U3A group, but I didn’t want to add it to the official WordPress.org repository as it had no relevance to the general WordPress user base. However, I still wanted to make it as easy as possible for people to install and update but WordPress won’t know how to check for updates on its own. That’s where Plugin Update Checker comes in.

Plugin Update Checker is a lightweight PHP library that adds WordPress-style update notifications to custom or private plugins. Once configured, your plugin behaves just like an official WordPress.org hosted plugin: WordPress checks … Read the rest

Apple Pencil vs Metapen Pencil A8

I’ve recently bought a new iPad A16 to use for watching films, reading magazines and for help with my family history research. My existing iPad, an M1 iPad Mini, has served me well and I will continue to use it as a Kindle but I wanted something with a larger screen.

When I bought the iPad Mini I also bought an Apple Pencil to go with it which I used along with the Goodnotes app to jot notes for both professional and home use cases. It wasn’t something that I used often but was useful occasionally. I decided that … Read the rest

Exporting Foursquare check-ins to Day One

This is the project that I expected to do for my November 12 Apps in 12 Months challenge but, as you will see, that wasn’t actually possible.

Don’t rely on someone else’s API

I had two projects in mind for Day One: sync my WordPress blog posts and my Foursquare/Swarm check-ins to it. I felt that the latter was probably the easier of the two, so I started with that last September.

I went through the OAuth process to get my key and then started making authenticated calls to the https://api.foursquare.com/v2/users/self/checkins endpoint. This should have returned a list … Read the rest

Grabbing YouTube’s Thumbnail Image

Sometimes there are simple solutions to life’s little problems. I had a need to get the thumbnail image associated with a YouTube video. I spent ages mucking around in the browser code inspector trying to work out how I could achieve this without much success.

Turns out that there is a simple, repeatable way using YouTube’s built-in thumbnail URLs

Get the Video ID

Every YouTube video has a predictable thumbnail URL, for example: https://www.youtube.com/watch?v=dQw4w9WgXcQ. Go on, click it, you know you want to!

So generically this is:

https://www.youtube.com/watch?v=VIDEO_ID

And in our example above the ID is dQw4w9WgXcQ.

Get Images

Read the rest