Hackerific

last update:

Well, it’s taken an embarrassingly long time to finish writing about it, but here’s the final post on my Exist plugin for Slogger. If you’ve not seen the other sections, you’ll want to start by reading Part 1 and Part 2, as this article just pulls the parts of the previous two together and into a Slogger plugin. Writing plugins is pretty straightforward, and there’s a template to help too. I started turning all my hackery from the previous two parts in this series into a plugin by copying that into the plugins directory, and picking a name for it.

In my last post I worked out how to grab data from Exist, using oAuth 2. In this post, I’ll take the data from the Exist API, convert it into markdown, ready for integrating into a Slogger plugin. Unfortunately, due to me running out of time contracting the plugin will have to wait until part three! Recap At the end of the last post, I had a way to authenticate with Exist and get back a token which could be used to make requests for data.

After writing a simple Slogger plugin for MyFitnessPal I was keen to add more plugins for services I use, and so an obvious target was exist.io. A lifelogger and activity correlator I’ve written about before. Exist has an API, along with some very shiny and user friendly API docs, so I set about learning how to grab the data I need. From the start, I knew this would be a bit more involved than just munging some publicly accessible HTML from MFP, so decided to handle the tasks in two main chunks.

I’ve been using MyFitnessPal (MFP) to log exercise and food for a couple of weeks (before that I tried SparkPeople but the app was buggy and the food database wasn’t great), and I really like knowing exactly how many more calories I can eat, as well as keep track of exercise and weight. Now, it’s great to be able to log stuff using an app with a barcode scanner, and then view stats and info online, but I don’t like the idea of my data all being locked away and belonging to someone else, and what it I want to use a different service?

April Tunes

The last few weeks have seen a lot of exceptional new releases. Hardly a day goes by when Apple Music’s New page doesn’t have some juicy metal to digest. We’ve seen albums from Haken, Deftones, Desaster, Cult of Luna & Julie Christmas and Painted Wives. Some of these are excellent albums, but for this post I want to step slightly outside the world of mainstream metal and focus on some slightly difference releases.