wezm.net/importer/import.rb

13 lines
192 B
Ruby
Raw Normal View History

require 'rubygems'
require 'wordpress'
2009-11-18 02:02:37 +00:00
if ARGV.size < 2
puts "Usage importer.rb worpress-export.xml /path/to/nanoc/site"
exit 3
end
i = Importer::Wordpress.new(ARGV[0], ARGV[1])
i.run