MacOS shortcuts are awesome. I do not necessarily recommend using it to migrate a decade-spanning museum website archive with thousands of pages, articles, projects, events and countless of high-res images with captions and alt tags and everything, though.

Yeah, that’s what I’m doing this week 🙈

It fetches content in JSON from a Drupal API endpoint. It does some cool stuff: all images are downloaded, resized and optimized using the TinyPNG API, uploaded to Strapi and inserted into articles/pages using Strapi’s GraphQL interface. All Drupal content blocks are meticulously mapped to corresponding Strapi Dynamic Zones.
It uses a system of ~30 shortcuts that send dictionaries back and forth in a modular system.

Show thread

I wouldn’t be able to do this without Logger, the missing console.log for Shortcuts:

Show thread

@hdv it’s ridiculous, but it works ¯\_(ツ)_/¯

Sign in to participate in the conversation
Wings Social

A leftist, progressive Mastodon server for Wings users, progressive activists and friends