Search code examples
jekyllblogger

How do I import a Blogger site into Jekyll with no XML files?


I dumped my entire Google profile a while back including my Blogger site and I do not have any XML files anywhere in my Blogger backup. I only have CSV files for my profile and feed.atom files for my posts. How do I import this into Jekyll?


Solution

  • Convert your .atom file into .rss feed format. As per the Jekyll docs, to import your post from rss feed, you can run

    $ ruby -r rubygems -e 'require "jekyll-import"; JekyllImport::Importers::RSS.run({ "source" => "my_file.xml" })'

    Additional Front matter config may have to be added still in each post but it will depend upon the theme you want to apply in your blog.