So, similar to what I built for Mastodon, I’m now pulling my Letterboxd reviews into the watching blog category (PESOS). I still want them here for archival/linking/discovery/etc. And this way the other systems of syndicating them to Mastodon and Bluesky can also “just work” once imported.
Workflow
I tacked this on to the GitHub workflow that I run regularly to syndicate my posts into and out of this site. The steps are pretty simple:
Execute the utilities/pesos_letterboxd script
If there are any content changes, commit them and push them up to the repository
The script, written in Ruby, pulls in the public RSS (yes! Bless the public standard of RSS!) feed of my Letterboxd account’s reviews. It then parses the XML to find reviews and imports them as Jekyll posts. For every other post/review, it looks to see if there’s already a Jekyll post on the site that corresponds (has the same Jekyll post frontmatter of letterboxd_review_url). Any that are already present get skipped. Any that doesn’t gets imported as a blog post.