wezm.net/script/importer/import.rb

13 lines
222 B
Ruby
Raw Permalink Normal View History

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