Last active
October 26, 2017 05:44
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
}) |
free
ms visual code
plugin:
AB HTML Formatter
Uncompress HTML
alt-shift-F
.xml conversion compresses html
was not used for blog completely (but a little bit)...
(the images are setup different) (Use href (fixes captions.html) not image src in blog theme for better resolution and correct setup).
/**
It does look correct with it (OK, compared). (using html files by themselves, without changing anything).
*/
Used in some renamed html to markdown and edited...
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
Creates all posts .html in _posts directory from blogger export file. (blog-08-23-2017.xml)