Migrates the posts, categories and tags of a WordPress blog to a destination MySQL database with the NixMash Blog Engine schema. The WordPress to NixMash Blog Migrator was built in Spring Boot. It also uses Kamran Zafar's excellent Spring WordPress WP-API Client to migrate rendered WP Post content.
Be sure to read the Project Wiki for configuration and setup information.
This application, the WordPress to NixMash Blog Migrator is complete. The NixMash Blog Engine is online and can be viewed at NixMash. The source code of the NixMash Blog Engine is found in here.
- MySQL setup scripts located in
/install/mysql/.
Runsetup.sql
in your empty destination MySQL database, andwpsetup.sql
in WordPress database to create four utility SQL Views. - Update
application.properties
in both/test/resources
and/main/resources
for 1) blogger username, 2) WordPress API blog Url, 3) WordPress Origination datasource and 4) NixMash Blog Destination datasource
You can either run the migrator inside of your IDE or use the SpringBoot Gradle Plugin to create an Executable JAR.
PROJECT_ROOT> $ gradle clean bootRepackage
JAR_LOCATION> $ java -jar wpspring-exec.jar
You can run the migrator in your IDE Terminal View with the Spring Gradle Plugin bootRun
task
PROJECT_ROOT> $ gradle bootRun
You can also perform a complete migration within your IntelliJ, Eclipse or NetBeans IDE.
The Output of the application is a MySQL database containing all of your WordPress Blog posts, categories and tags. A new NixMash Blog user account is created with the data you provided in application.properties
with a default password of "password."
This is what a successful execution of the WP Migrator application looks like.