Import cnblogs.com data to the wordpress code_php instance
Source: Internet
Author: User
There are too many restrictions on the blog garden, so I decided to change my blog from the blog Garden (cnblogs. WORDPRESS has a good reputation, so I decided to use it for reference. Hundreds of logs sent earlier must be imported. I searched the internet for a while and found that this plug-in was not available. I had to write one myself and share it with me, if anyone needs to download the following plug-ins
Usage:
Select backup data in cnblogs and export an XML file to the local device;
Download the plug-in the attachment and install it in the \ wp-content \ plugins directory;
After the plug-in is enabled in the background, you can find "Cnblogs Data Conversion" in "Tools" to enter;
Select the downloaded XML file. After the file is uploaded, the system automatically converts the data and imports it to wordpress.
Note:
This plug-in only imports blog garden logs, essays, and articles into wordpress, and does not import comment album data, because cnblogs does not provide such data backup
The import can be used infinitely or repeatedly. Select the XML file to be imported as needed.
/**
* Plugin Name: Convert the cnblogs.com data
* Plugin URI: http://levi.cg.am
* Description: Convert cnblogs.com data to wordpress.
* Author: Levi
* Version: 1.0
* Author URI: http://levi.cg.am
*/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.