Movable Type

Additional Dependencies

This importer requires the following additional libraries.

You may install the needed gems individually by running gem install GEM_NAME or install all of them with a single invocation:gem install mysql2 pg safe_yaml sequel sqlite3

To import your posts from Movable Type, run:

$ ruby -r rubygems -e 'require "jekyll-import";{
      "engine"        => "mysql", # "postgres" is also supported
      "dbname"        => "name",
      "user"          => "myuser",
      "password"      => "mypassword",
      "host"          => "myhost",
      "blog_id"       => nil,  # Set to specific ID to import just one blog
      "categories"    => true, # Set to false to not save categories to front matter
      "src_encoding"  => "UTF-8",
      "dest_encoding" => "UTF-8",
      "comments"      => true


Posts will be generated and placed in _posts directory.

The only required fields are dbname and user. password defaults to "" and host defaults to "localhost".

comments, which defaults to false, control the generation of comment. If comments set to true, posts will be generated and placed in _comments directory.

All of the posts and comments will include post_id in YAML front matter to link a post and its comments.

To include imported comments as part of a post, use the yet to merge fork of mt-static-comments to include statically generate comments in your post. Fork and provide feedback if necessary.