Home  >  Article  >  Backend Development  >  Code to import blog garden (cnblogs.com) data into wordpress_PHP tutorial

Code to import blog garden (cnblogs.com) data into wordpress_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:13:50871browse

I will share this. If anyone needs it in the future, you can directly download the following plug-in
Code to import blog garden (cnblogs.com) data into wordpress_PHP tutorial

How to use:

Select the backup data in cnblogs and export it An XML to the local;
Download the plug-in in the attachment and install it to the wp-contentplugins directory;
After opening the plug-in in the background, you can find "Cnblogs Data Conversion" in "Tools" and enter;
Select what you just downloaded XML file, after uploading, the system will automatically convert and import the data into wordpress
Note:

This plug-in simply imports blog logs, essays, and articles into wordpress, and will not import the comment album. Data, because cnblogs does not provide this type of data backup
The import can be used unlimited times or repeated imports. Please select the XML file to import according to the situation
/**
* Plugin Name: Convert Blog Garden (cnblogs.com) data
* Plugin URI: http://levi.cg.am
* Description: Convert Blog Garden (cnblogs.com) data to wordpress中
* Author: Levi
* Version: 1.0
* Author URI: http://levi.cg.am
*/

Download Address: http://www.jb51.net/codes/70028.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/326393.htmlTechArticleI will share this. If anyone needs it in the future, you can directly download the following plug-in usage: Select backup data in cnblogs , export an XML to local; download the plug-in in the attachment,...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn