Change of plan: I'm moving this site not from WordPress to Rails, but from WordPress to Jekyll.
It was kind of fun developing a blog from scratch in Rails, but it's taking too long to get it finished, and I'd rather use the time for other things. Jekyll is a static blogging system built in Ruby. It's simple, powerful, and free to host via GitHub Pages.
Here are the very simple steps I've taken to migrate:
- Create a new repository on GitHub
- Create a new Jekyll site and push it to the GitHub repository
- Import data from WordPress (using this fix for paragraph/line breaks, then
gem install pkg/jekyll-import-0.1.0.gem)
- Fetch the uploads (images), change the URLs for the images, move the pages to page-name/index.html, set up permalinks and pages
- Add a feed (call it feed/index.html, which is a bit messy but seems to work) [Update: feed/index.xml works on GitHub pages]
- Add Bootstrap to make the page look reasonable (use Bootstrap CDN, dead easy)
- Post excerpts (based on this)
- Use Disqus for comments
- And a few other odds and ends
The site isn't quite live, but you can look at the repository on GitHub.