Skip to content

Instantly share code, notes, and snippets.

@ets
ets / import.rb
Last active December 29, 2015 11:19 — forked from juniorz/import.rb
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
require 'uri'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = File.read ARGV[0]