Skip to content

Instantly share code, notes, and snippets.

Hendrik hendrikmorkel

View GitHub Profile
hendrikmorkel / import.rb
Created Mar 9, 2012 — forked from ngauthier/import.rb
Import a blogger archive to jekyll
View import.rb
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = ARGV[0]
doc = Nokogiri::XML(data)
You can’t perform that action at this time.