Migrate from Xanga to Hexo

Download Migration Plugin

npm install hexo-migrator-wordpress --save

Download Archive from Xanga

I got a folder named 29018156_1, and 29018156_2.xml inside it stores my xanga content. {% asset_img 'archive.png' %}

Modify the Plugin

Since the format of the archive is not compatible with the plugin, modify the source codes just like the pictures shown below. {% assetimg 'change1.png' %} {% assetimg 'change2.png' %}

Do migration

hexo migrate wordpress /Users/Jason/Downloads/29018156_1/29018156_2.xml