1 | # WordPress migrator
|
2 |
|
3 | Migrate your blog from WordPress to [Hexo].
|
4 |
|
5 | ## Install
|
6 |
|
7 | ``` bash
|
8 | $ npm install hexo-migrator-wordpress --save
|
9 | ```
|
10 |
|
11 | ## Usage
|
12 |
|
13 | Export your WordPress in "Tools" → "Export" → "WordPress" in your dashboard.
|
14 |
|
15 | Execute the following command after installed. `source` is the file path or URL of WordPress export file.
|
16 |
|
17 | ``` bash
|
18 | $ hexo migrate wordpress <source>
|
19 | ```
|
20 |
|
21 | [Hexo]: http://zespia.tw/hexo
|