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.
What you'll learn
- How to export the post data from WordPress
- Creation of an import content structure
- Import settings in Kuroco
- Verification of the imported content
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].
Post contents
On the Export Content page, under "Export content", click [Export all].
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.
Media files
Then, under "Export media library", click [Download] to download the media library as a TAR file.
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].
In the upper right corner of the Content structure list screen, click [Add].
Set up your new content structure as follows:
Field | Value |
---|---|
Name | (Enter a name for the content structure.) |
Content input method | Select "WYSIWYG". |
Keep the default settings for all other fields. When you are done, click [Add] at the bottom of the screen.
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].
On the WordPress integration screen, make the following selections:
Field | Value |
---|---|
WordPress XMLfile | Select the .xml file exported from WordPress. |
WordPress media ZIP file | Select the .tar file exported from WordPress. |
Target content | Select the content structure you created above. |
Status | Select the desired status (publish/unpublish) for the content. |
No value behavior | Select "Ignore". |
Content category | Select "Import category from WordPress XML". |
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.
Check the content category list to make sure that the categories have been imported correctly.
Finally, open the File manager. You should see the imported media files in the WordPress directory.
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:
Support
If you have any other questions, please contact us or check out Our Slack Community.