Uploading Videos with php2Bluesky

Ever since I launched php2Bluesky a couple of years ago, I have wanted to add the ability to upload video as well as images. Initially, that wasn’t possible as Bluesky didn’t support videos, and then they did, but it wasn’t in the API. Now, however, it is all systems go, and so I have updated the library to support videos.

How to Upload a Video

First things first. In order to start uploading videos all you need to do is update the library. The way you call the library remains exactly the same, so you would do the following to … Read the rest

Decoding the Evernote Webhook

Evernote doesn’t like you using the search functionality in the API to look for changes that occur to a note. Instead you are encouraged to get notification of changes using webhooks. This works by receiving an HTTP post from Evernote every time that a note is created or updated and by reading the payload associated with that webhook you can get some basic information on it.

What does the Webhook look like?

The very first thing to know about Evernote webhooks is that in order to receive them you need to have registered for an API key and also … Read the rest

Family History Database Searches

Amongst all my many hobbies is researching my family history, which I have been doing on and off (well, more off actually) for the last 30 years. Over that time, how you research has changed enormously with so many records now being available online. Also, when I first started, the only way to record your information was on paper, but now there are numerous software packages that have largely replaced the need for paper.

Data Mining

The main issue with recording your family history information in a software package is that you are beholden to the developer’s choice of what … Read the rest

What Should I Watch Next?

Back last December I wrote about a project that I had written called What Should I Play Next? where it would randomly choose something from my record collection to play. This month’s project, part of my 👨‍💻12 Apps in 12 Months challenge, is the visual equivalent.

The Plex API

When I want to watch a film I am sometimes constrained by the amount of time I have and usually have some feeling of the genre I want so I wanted something that catered for that plus could also exclude things that I had watched before.

While I do subscribe to … Read the rest

Using php2Bluesky without Composer post v2.0.14

In January I wrote about Using php2Bluesky without Composer for those that wanted to take this approach. Since then I have updated the code so that it conforms to PSR-4 for loading with Composer. This in turn has a knock-on effect for those loading manually. The rest of this article explains how loading now needs to take place.

Multiple Files

Prior to v2.0.14 all the code was contained within a single file called functions.php. The naming reflected the history of the library which was originally developed to be included as part of a larger project. When I spun it out … Read the rest

Simple WordPress Post Stats

Every year, over on my personal blog, I write a round-up post covering what I have done during the year. This includes books read, films watched steps taken etc. What it has never covered are my creative endeavours which would be my developments over at Github and my blog posts.

Where are the WordPress Stats?

I sort of assumed that there would be stacks of stats in the WordPress dashboard but no if you want that you have to install Jetpack and get the nagging messages asking you to upgrade. These stats are very similar to what you … Read the rest

Using php2Bluesky without Composer

I have been asked how to use my php2Bluesky library without having to install it using Composer. Given that this is a common request I thought that I would document it here.

Pros and Cons of Composer

Before we get into the specifics of using php2Bluesky without Composer let’s take a quick look at the pros and cons of using Composer. Feel free to skip this bit and go straight to how to use php2Bluesky without Composer!

Using Composer to install a package has several advantages over manually downloading the code and requiring it. Composer automates dependency management, … Read the rest

Discogs Wrapped

If you’re not a Spotify user, as I’m not, then all the self-congratulatory Spotify Wrapped posts at the end of each year can become quite wearing. It’s not that I don’t listen to music; it’s just that I don’t consume it through streaming. I’m an old-fashioned, physical music kind of guy, and I have lots of vinyl records.

What I thought if I could have my own version of Spotify Wrapped? Enter…

Discogs Wrapped

My music media collection is all catalogued in the online service Discogs which also has an api. In fact, it was this that I used this … Read the rest

jolpica2ergast F1 Database Updater

In addition to this blog and my personal blog I also maintain a Williams Racing fan site at https://williamsdb.com. In fact, this is my longest running site having first gone live on 6th May 1996. As you can imagine this has gone through a number of itterations over the years and the latest makes extensive use of a results database called Ergast.

And then it was gone

About a year ago the maintainer of Ergast announced that he was going to discontinue updating it at the end of 2024. To be honest, I don’t blame him as it … Read the rest

Where’s Santa?

I had an unusual request from my friend John recently – could I help him map the location of Santa as he goes about his deliveries? Ok, it wasn’t quite like that. He is a member of the Lions, and every December they take out a sleigh with Santa on the back through the streets to the delight of lots of excitable children. The issue was that parents didn’t know exactly when he was going to appear in their streets and were constantly looking and waiting for his arrival. If there was a map of the live position, this would … Read the rest