Last weekend / week some valiant efforts were made to import a Blogger export file into the latest WordPress release running on my laptop. Just getting that shitshow on the road was not a walk in the park. I’ll leave the next paragraph as a warning to future travellers on macOS:
WordPress will not connect to MySQL / MariaDB on localhost, update your config to use 127.0.0.1.
How PHP manages to be so consistently bad is a source of amazement.
My initial excitement about having found a plugin was tempered by the eventual realisation that the hooks are only there when saving a new entry. Presumably the code could be re-used in a pipeline that uses the Blogger REST API to pull entries, pushing them into WordPress, attaching images and rewriting img tags as it goes.
My hopes of getting this done without writing my own toolchain are slowly fading into the ether…