Skip to content

Convert and import your Blogger posts into Cryogen static site generator

License

Notifications You must be signed in to change notification settings

cryogen-project/blogger2cryogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Convert and import your Blogger posts into Cryogen static site generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published