Importing WordPress files into Kuroco

Overview

This tutorial explains how to import XML data and media files from WordPress into Kuroco.

For demonstration purposes, we will be importing four WordPress posts into Kuroco. Each post belongs to a different category and contains media content (images), as shown below.

Image from Gyazo

Image from Gyazo

Image from Gyazo

What you'll learn

Exporting the post data from WordPress

First, export your post data from WordPress. The steps are outlined below. You can also find more information at WordPress Support: Export Your WordPress.com Site.

In the side menu of your WordPress dashboard, click [Tools] -> [Export].

Image from Gyazo

Post contents

On the Export Content page, under "Export content", click [Export all].

Image from Gyazo

A download link will be generated. Click [Download] to download the content data in XML format.
The content will be downloaded in a ZIP file.

Image from Gyazo

Media files

Then, under "Export media library", click [Download] to download the media library as a TAR file.

Image from Gyazo

This completes the data export from WordPress.

Preparing a Kuroco content structure for the import

Next, create a content structure in Kuroco to import the WordPress data.

In Kuroco's sidebar menu, select [Content structure].

Image from Gyazo

In the upper right corner of the Content structure list screen, click [Add].

Image from Gyazo

Set up your new content structure as follows:

FieldValue
Name(Enter a name for the content structure.)
Content input methodSelect "WYSIWYG".

Image from Gyazo Image from Gyazo

Keep the default settings for all other fields. When you are done, click [Add] at the bottom of the screen.

Image from Gyazo

Importing the data into Kuroco

Now you are ready to import the WordPress post data into Kuroco.

In Kuroco's sidebar menu, select [External system integration] -> [WordPress].

Image from Gyazo

On the WordPress integration screen, make the following selections:

FieldValue
WordPress XMLfileSelect the .xml file exported from WordPress.
WordPress media ZIP fileSelect the .tar file exported from WordPress.
Target contentSelect the content structure you created above.
StatusSelect the desired status (publish/unpublish) for the content.
No value behaviorSelect "Ignore".
Content categorySelect "Import category from WordPress XML".

Image from Gyazo

Verifying the import

To view the list of imported post titles, select [Content] in the sidebar menu and select the name of the content structure.

Image from Gyazo

Check the content category list to make sure that the categories have been imported correctly.

Image from Gyazo

Finally, open the File manager. You should see the imported media files in the WordPress directory.

Image from Gyazo Image from Gyazo

Note: Currently, categories and content cannot be imported at the same time. If only categories were imported, please try importing again using the same XML file.

More information

For more information on the WordPress integration function, see:

If you have any other questions, please use our contact form or Slack workspace.