import-command icon indicating copy to clipboard operation
import-command copied to clipboard

Allow to import WXR file through HTTP and STDIN

Open miya0001 opened this issue 8 years ago • 2 comments

It will be useful if we can import WXR file through HTTP. Following is an example to import theme unit test data of the theme review team.

$ wp import https://raw.githubusercontent.com/WPTRT/theme-unit-test/master/themeunittestdata.wordpress.xml --authors=import

Also, I think it should to be able to import from STDIN like following and it looks useful.

$ wp export --stdout | wp @staging import - --authors=import

miya0001 avatar Sep 10 '17 18:09 miya0001

Importing from stdin is a must have for containerized instances

nreynis avatar Nov 18 '19 10:11 nreynis