Small utility to easily migrate Blogger content to Cryogen.
These are the steps on how to get blogger2cryogen up and running:
- make sure you have Java and Leiningen installed
- download latest release or clone this repository
- 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
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.
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
In case you notice something is wrong or you have suggestions, feel free to let me know.
Copyright © 2015 Sanel Zukan
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.