Sha256: ea990dd4d9bb3896be7be7a9342e2e995f0f90d78624e530f21e0a3206ac8407
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
require 'wp2middleman/version' require 'wp2middleman/post' require 'wp2middleman/middleman_post' require 'wp2middleman/post_collection' require 'wp2middleman/frontmatter' require 'wp2middleman/migrator' require 'wp2middleman/cli' module WP2Middleman def self.migrate(wp_xml_export_file, body_to_markdown = false, include_fields = []) migrator = WP2Middleman::Migrator.new wp_xml_export_file, body_to_markdown: body_to_markdown, include_fields: include_fields migrator.migrate end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wp2middleman-0.0.3 | lib/wp2middleman.rb |
wp2middleman-0.0.2 | lib/wp2middleman.rb |