less than 1 minute read

I wanted to see if it was possible to import blogger posts into github blog.
Found this tool that makes it simple to do so:
jekyll-import

Instructions:

  1. install the gem gem install jekyll-import
  2. export your posts from blogger Blogger export screenshot download the resulting xml to another folder
  3. execute the importer
ruby -rubygems -e 'require "jekyll-import";
    JekyllImport::Importers::Blogger.run({
      "source"                => "blog-02-21-2016.xml",
      "no-blogger-info"       => false, # not to leave blogger-URL info (id and old URL) in the front matter
      "replace-internal-link" => false, # replace internal links using the post_url liquid tag.
    })'

This will create a _posts directory with all your posts.

  1. Copy the posts to your github blog _posts directory and submit it to github

Updated:

Comments