Hi - total noob and not at all tech-y person here.
wanted to migrate my blog posts from my Squarespace to my Ghost site. Squarespace spat out a 3MB .xml file, so I scoured the net for a JSON converter.
Finally found one that seemed to have worked, and Ghost could accept via Universal Import, but the file keeps coming back as an unsuccessful import.
Not smart enough to know how to fix. Help! Thanks!
Hey there
Welcome to the forum!
The Universal Import option can take a JSON file that is valid for Ghost—your XML to JSON conversion might be a valid JSON file, but it needs to line up with Ghost’s spec too, which you can read here:
You can wrangle your data a little more to bring it in line with this, or you can run your XML file through a migration tool like this which will generate valid Ghost JSON.
Squarespace blog posts migrate beautifully to Ghost.
Squarespace pages may require a lot of clean up—this will depend on how much you’ve leaned on the page building features in Squarespace (the more you have used these tools, the more tidying p is required in Ghost). In the tool I shared above, the default for pages is that they are not migrated. You can toggle page migrations back on when you set up the job.
Good luck!
Thank you so much Jon, you’re a lifesaver!
I managed to get the file converted, and I’ve now hit a snag uploading (it’s taking forever and then my mobile hotspot is timing out (probably because the file is 600MB!)(I don’t have a wired wifi connection where I am)
I’m only looking at importing Blog Posts, but starting my page hierarchy from scratch, so I didn’t even need to worry about that element.
Thanks again for your help - I’m going to try and babysit this upload now!
It may not be your mobile connection tbqh, 600MB is a big chunk to send this way.
Import the JSON by itself, split down into smaller chunks if needed.
Split the images into a few smaller Zips too, definitely smaller than 500MB but maybe smaller yet if your connection isn’t very fast/reliable.
There’s a handy JSON splitter and a Zip splitter here which will help you chunk the migration cleanly and import in increments.
Thanks again! The Json came in eaaaaasily! All the articles are up, just without images.
I’m running into issues splitting the images, as I think some of the file names exceed 254 characters, but I’m pretty sure if I change those names they won’t marry up when I import them, right? The images file is uncompressed/not zipped, just for the record, if that changes anything!