chassis-wxr

July 17, 2018 ยท View on GitHub

A module to import content from WXR (WordPress eXtended RSS) files into your Chassis virtual machine. For information on Chassis itself, see the Chassis documentation.

Configuration & Usage

In your Chassis yaml configuation file, add a new wxr key with a path property:

wxr:
  path: path/to/wordpress-export.xml

The path property should specify the file system path of a WordPress WXR XML file, relative to the content directory. For example, if you have a WXR called "theme-test-data.xml" in the content/ folder of your Chassis site, you should pass path: theme-test-data.xml.

empty: true

In situations where the WXR represents the sum total of the content intended to be displayed on the site, you may specify an additional empty property to cause Chassis to empty all content from the database prior to loading the WXR.

wxr:
  path: path/to/wordpress-export.xml
  clean: true