Skip to content

Instantly share code, notes, and snippets.

@zhangsen
zhangsen / import.rb
Created Jun 14, 2012 — forked from dnagir/import.rb
Import a blogger archive to jekyll (octopress version, allows quotes in titles)
View 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]
You can’t perform that action at this time.