Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.94 KB

README.md

File metadata and controls

69 lines (47 loc) · 1.94 KB

blogger2cryogen

Small utility to easily migrate Blogger content to Cryogen.

Usage

Compiling blogger2cryogen

These are the steps on how to get blogger2cryogen up and running:

  1. make sure you have Java and Leiningen installed
  2. download latest release or clone this repository
  3. in blogger2cryogen folder, run lein uberjar

By now, you should have it successfully compiled. To validate, run:

./bin/blogger2cryogen

script. You will get help output like this:

Usage: blogger2cryogen [options]
Export your Blogger posts to Cryogen static site generator.
  -i, --in  DUMP    XML dump from Blogger
  -o, --out FOLDER  Extract posts to FOLDER
  -n, --no-struct   Do not create FOLDER/pages and FOLDER/posts subfolders
  -t, --tidy        Tidy extracted HTML

Exporting Blogger data

Before you initiate conversion, you will need to export Blogger posts on your disk. Export or import your blog describes the steps how to do it.

Importing into Cryogen

Make sure to install cryogen-html plugin first; you can install it in your existing Cryogen blog or the fresh one. This plugin will give your blog ability to render HTML posts without additional conversion.

Inside <YOUR-BLOG>/resources/templates create folder html with:

mkdir <YOUR-BLOG>/resources/templates/html

and run blogger2cryogen with:

./bin/blogger2cryogen -i <BLOGGER-XML-DUMP> -o <YOUR-BLOG>/resources/templates/html -t

Reporting bugs

In case you notice something is wrong or you have suggestions, feel free to let me know.

License

Copyright © 2015 Sanel Zukan

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.