March 05, 2014
Squarespace is a popular service to host a website or blog. You might have seen their Super Bowl commercial or heard about them on one of the hundred podcasts they sponsor. I signed up about a year and a half ago and used it as my main blog. I’ve decided to move away and use Octopress to host my blog on GitHub Pages instead.
Why? Well, for starters, it’s slow to use. I think it’s a byproduct of the way they organized their single-page application architecture. I find myself having to wait for things to open in modal windows, or to load another menu.
The layout tools are bad. If all you do is write text and link to stuff, this doesn’t matter. Sometimes I like to have in depth coding posts that have multiple blocks of code within them. This is incredibly painful to do with the Squarespace layout tools. Here’s the process:
What you see is definitely not what you get. Sizing images to align to the left or right of a paragraph is awful. For some reason, the editing font on the admin page is different than the one on the actual site. This means that even if everything lines up on the admin page, it might not on the live site. Fixing this is tedious. Again, due to the single-pagedness of the admin site, you can’t easiliy open the preview in a new tab or window (‘Open in new page’ does nothing). You need to open a brand new browser window, navigate to your admin site, then click on the preview button there.
Saving a post in the editor closes the modal that contains it. This means that the workflow for making any kind of adjustment is:
All of this for about $100/year (or more).
Octopress is a static site generator that is aimed at developers. If you don’t know Markdown, git, as well as HTML + CSS consider something else. However, since I am familiar with all of those, it works for me.
The problem is exporting my content from Squarespace. The only export option available is one for Wordpress, which dumps everything into an XML file. Since I’m not using Wordpress, this didn’t work for me. My blog has been quite the sojourner, created orginally on Wordpress, then to Posterous (lol), and finally Squarespace. It’s accumulated a bit of cruft. For some reason, older posts did not export properly; if they contained an image and text, the text was deleted.
After some fiddling, I put together a script that would walk each post on the blog, download everything and then move onto the next. I did run into some gotchas though:
<img>
tags used a data-src
attribute instead of a standard src
attribute. The fix was to rename the attribute.There are still some issues that I’ll need to address on a case by case basis, but it’s a good 80% solution right now.
I like Octopress because it is fast, easy for me to manage, and keeps my content in a simple (and portable) format. I just hope that this will last me for a while. It doesn’t do nearly as many things as Squarespace, but most of those I don’t need.
Written by Scott Williams who lives and works in sunny Phoenix, AZ. Twitter is also a place.