Blogger Importer
This importer depends on the following third-party gems:
- rexml
- safe_yaml
gem install GEM_NAME
or install the required gems in a batch by running the following snippet:
gem install rexml safe_yaml
Invocation
To import your posts from Blogger, you have to first export the blog
to an XML file (blog-MM-DD-YYYY.xml
).
Sample snippet to invoke the importer:
jekyll import blogger --source NAME --no-blogger-info --replace-internal-link --comments
Option <PARAM> | Description | ||
---|---|---|---|
--source NAME |
The XML file (blog-MM-DD-YYYY.xml) path to import |
||
--no-blogger-info |
not to leave blogger-URL info (id and old URL) in the front matter. |
Default: false |
|
--replace-internal-link |
replace internal links using the post_url liquid tag. |
Default: false |
|
--comments |
import comments to _comments collection. |
Default: false |
“Labels” will be included in export as “Tags”.