Skip to content

Instantly share code, notes, and snippets.

@manbearwolf
Last active October 26, 2017 05:44
Show Gist options
  • Save manbearwolf/74d89b85034c7310ab99372bb046efaf to your computer and use it in GitHub Desktop.
Save manbearwolf/74d89b85034c7310ab99372bb046efaf to your computer and use it in GitHub Desktop.
"Real" Conversion of Blogger to Jekyll format (XML Blogger export) (Posts export .xml Not theme ex: blog-08-23-2017.xml)
require "jekyll-import";
JekyllImport::Importers::Blogger.run({
"source" => "./blog-08-23-2017.xml",
"no-blogger-info" => false, # not to leave blogger-URL info (id and old URL) in the front matter
"replace-internal-link" => false, # replace internal links using the post_url liquid tag.
})
@manbearwolf
Copy link
Author

manbearwolf commented Oct 25, 2017

Completely converted HTML to markdown for speed. (and condensed code to markdown only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment