An open API service indexing awesome lists of open source software.

https://github.com/cryogen-project/blogger2cryogen

Convert and import your Blogger posts into Cryogen static site generator
https://github.com/cryogen-project/blogger2cryogen

Last synced: about 1 year ago
JSON representation

Convert and import your Blogger posts into Cryogen static site generator

Awesome Lists containing this project

README

          

# blogger2cryogen

Small utility to easily migrate [Blogger](http://blogger.com) content to [Cryogen](http://cryogenweb.org).

## Usage

### Compiling blogger2cryogen

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

1. make sure you have Java and [Leiningen](http://leiningen.org) installed
2. [download](https://github.com/sanel/blogger2cryogen/releases)
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](https://support.google.com/blogger/answer/97416?hl=en)
describes the steps how to do it.

### Importing into Cryogen

Make sure to install
[cryogen-html](https://github.com/sanel/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 `/resources/templates` create folder `html` with:

```
mkdir /resources/templates/html
```

and run _blogger2cryogen_ with:

```
./bin/blogger2cryogen -i -o /resources/templates/html -t
```

## Reporting bugs

In case you notice something is wrong or you have suggestions, feel
free to [let me know](https://github.com/sanel/blogger2cryogen/issues).

## License

Copyright © 2015 Sanel Zukan

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