In the last 24 hours I’ve swung back into the IndieWeb orbit. I think this was mostly prompted by a general disatisfaction with social media right now.

The last time I was here I was trying to work out how to “scrobble” tracks from Amazon Music to this site. I was trying to do this with Shortcuts on iOS and IFTTT.

This time I have been looking at how I can better share my watches from Letterboxd. I have an IFTTT applet that uses an RSS feed Trigger on my Letterboxd and uses the WordPress Action to post here. It’s not very flexible, the formatting is kind of crappy, and, as a result, all the watches are sat in Drafts, waiting to be beautified.

I have been doing a lot with Microsoft Power Automate at work recently and that got me thinking that maybe I could manipulate the data coming in from the RSS feed. I mostly rely on 3rd party tools as I am not skilled enough to whip up and deploy my own API/handle turning apps.

I started scouting around to see if I could find a tool to convert the RSS into another format that I could manipulate a bit more and then feed that into IFTTT (or w/e). I didn’t have much luck, so I thought I better have a look at IFTTT and see if there was anything I could do on their side. I couldn’t remember there being anything. Turns out IFTTT added this thing called filter code. I think the idea is, as the linked article suggests, that it gives you a bit more control of the flow. But it turns out you can basically re-write the applet. You can read the data from the Trigger and set the parameters for the Action.

I came up with a nice regex to remove the username from the feed url, so you can get a link to the movie page on Letterboxd. So, now I should be able to feed that into the Response properties for a watch. I’ll update with a link to the applet when it does exactly what I want.

At that point I was pretty happy and decided to go to bed. That was about 10pm ish. Obviously my brain didn’t fancy that so I ended up looking at my Shortcuts scrobble again… two hours later I was successful. Learned a lot of “obvious” stuff, which I’ll leave to reflect on another day.

Leave a Reply

Your email address will not be published.