文章目錄
  1. 1. Download Migration Plugin
  2. 2. Download Archive from Xanga
  3. 3. Modify the Plugin
  4. 4. Do migration

Download Migration Plugin

1
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.
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.
change1.png
change2.png

Do migration

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

文章評論

文章目錄
  1. 1. Download Migration Plugin
  2. 2. Download Archive from Xanga
  3. 3. Modify the Plugin
  4. 4. Do migration