Migrating from Blogger to Jekyll and GitHub Pages
I've been in a bit of a blogging slump the last few months. Partly because I've been particularly busy, but also I've been a bit frustrated with Blogger. I used Windows Live Writer (later Open Live Writer), but sadly after all the effort to make it open-source, the project has kind of floundered with no one apparently leading the project now.
So what to do? Well maybe it's time to move to a different platform. I'd see a few people with their blogs on GitHub, and after a bit of research I settled on using Jekyll with GitHub pages.
How I migrated from Blogger
I followed this useful checklist - https://thefriendlytester.co.uk/2017/07/blogger-to-jekyll-migration-timeline. Note that the jekyll-importer
does not convert Blogger content to Markdown (that had me confused for a few hours).
I stuck with the same URL format for posts, so that should mean no broken links.
I made use of Windows Subsystem for Linux to run Jekyll locally (as I'd read it wasn't so easy to get running natively on Windows). See below for more details of getting that all running.
Update Cloudflare to point to flcdrg.github.io - https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/
Update FeedBurner settings to point to new source RSS feed.
What I forgot
I use dlvr.it to post to Twitter about new blog posts. I should have disabled that as it got confused by the change and thought I'd posted some new articles.
Still to do
The Blogger migration only copied text. Images are still living in their original locations. It would be good to migrate them over too.
My old blog had a nice Archive/history listing. I've started looking at Jekyll equivalents, but not found one that's similar yet.
Getting Jekyll running on WSL
sudo apt update
sudo apt upgrade
sudo apt install ruby
sudo apt install ruby-dev
sudo apt install make gcc
sudo apt install g++
sudo apt install zlibc
sudo gem install pkg-config -v "~> 1.1"
sudo apt install libxml2-dev
sudo apt install libxslt-dev
sudo gem install nokogiri -- --use-system-libraries
sudo gem install jekyll-import
sudo gem install jekyll
With my locally cloned Git repo at C:\dev\git\flcdrg.github.io
in Windows, in WSL I could change to the equivalent path at /mnt/c/dev/git/
flcdrg.github.io, and then run jekyll server
.
Anything else?
Let me know in the comments if something is broken that used to work!
Categories: