Add wordpress importer (#182)
* add wordpress, test * add wp migrator to rest * add readme, fix test, fix error handling
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
echo "import wordpress file $1 to site $2"
|
||||
curl -X POST -H "Content-Type: application/xml" -d @/srv/var/$1 "http://127.0.0.1:8081/api/v1/admin/import?site=${2}&provider=wordpress&secret=${SECRET}"
|
||||
echo "import completed"
|
||||
Reference in New Issue
Block a user