wezm.net/importer/import.rb
2009-11-19 19:42:22 +11:00

12 lines
222 B
Ruby

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