If you’re like me, occasionally you end up binge watching TV shows or movies due to not being able to sleep. Since this site is essentially a commonplace book for the things I do online, that ideally includes the movies and TV shows I’m watching. And I wanted a way to pose these without having to load the new post screen on my phone so I could just use my usual TV tracking app.

Enter IFTTT and Trakt

The easiest way to do this, at least as far as I’m concerned, is to use IFTTT. To keep this short, I’ll just go through the steps.

Note: I’m using a screen reader to do this, so these instructions may not make sense for mouse users.

First, ensure that you have an account on Trakt, and that you’re a VIP member so that you can get access to the specific RSS feed you need. Note that these feed addresses contain an account-specific query string which you will need to keep intact to ensure you get the right feed. You can find these on your dashboard once you’re a VIP member.

Second, log into IFTTT, and activate the link that says “Create”.

Once you’re on that page, choose your service. For this case, it will be RSS. When choosing your trigger, you’ll want “New feed item”. For the feed URL, you’ll want the address for your watched feed from Trakt. Paste that into the box.

Next, you’ll want to choose “webhooks” as your service for the “then” part, and “make a web request” for the trigger.

When you choose to make a web request, you’ll need the following:

  • Your micropub endpoint, which will take the form of example.com/wp-json/micropub/1.0/endpoint
  • Your method will be post
  • Your content type will be application/x-www-form-urlencoded. This is the simplest method. If you’re familiar with json, you can choose that method.
  • Additional headers field is blank in my usage, but if you want to play around this you can send additional http headers along with the request.

Next is the body of your request. This will take the form:

access_token=[token]&h=entry&watch-of={{EntryUrl}}

Where [token] is an auth token generated by the indieauth plugin. I have one specific to IFTTT that I use for all my recipies.

After you’ve saved your app, you can start using Trakt to log the TV and movies you’re watching.

Note: I have not figured out how to do this with something like Youtube, because Youtube does not give us an RSS feed of our watch history, although it does provide a page for our watch history. So you’ll need to log those kinds of posts manually if you use Youtube a lot. Same goes for likes and such from that service.

Things I’d like to automate logging of but still haven’t figured out yet

The one kind of post I have not figured out how to automate yet is exercise posts. Mostly because Strava doesn’t provide any sort of decent markup to grab, and no RSS feed, and Peloton and Apple Health won’t talk to anybody but themselves, and even if they did I haven’t yet figured out how to format the body of the request to send an exercise post kind to the micropub endpoint. As soon as I figure this out I’ll document that too.

I hope others find this helpful.

Qasim Rashid, Esq. (@QasimRashid@mastodon.social) (Mastodon)
President Biden cites facts that white supremacy terror is America’s greatest domestic security threat—and MAGAs lose their minds. Here’s the thing. I’m Muslim. I don’t feel attacked when people condemn the Taliban because Taliban do not represent Muslims and I proudly take the lead in condemning Taliban terrorism. If you’re MAGA white and feel personally attacked when Biden condemns white supremacy terror—you are absolutely telling on yourself.
Dan Gillmor (@dangillmor@mastodon.social) (Mastodon)
What continues to disappoint me the most is that people who know better -- particularly journalists -- have capitulated to Musk in every way that matters. They kind of, sort of recognize the menace he represents, and don't like his loud loathing of what they do. But the audience and content matter more to them, even though they could bring both to better places. Look, I have my own hypocrisies. But supporting Musk was one I couldn't abide.
How To Use WP-CLI v2 to Manage Your WordPress Site from the Command Line by Ayooluwa Isaiah (DigitalOcean)
In this tutorial, you’ll use many of the features of WP-CLI and discover how it can fit into your workflow. You’ll cover common operations such as managing plugins and themes, creating content, working with the database, and updating WordPress. The capabilities of WP-CLI go beyond this tutorial; however, you’ll be able to transfer how to work with thes more common options to other WP-CLI features.

I can’t remember if I bookmarked this at an earlier date, and I’m too lazy to look, so I’m bookmarking for when I decided to dig up the motivation to do WPCli things on this server.