Migration

  • 2018-12-03

RSS

First, install the hexo-migrator-rss plugin.

1
$ npm install hexo-migrator-rss --save

Once the plugin is installed, run the following command to migrate all posts from RSS. source can be a file path or URL.

1
$ hexo migrate rss <source>

Jekyll

Move all files in the Jekyll _posts folder to the source/_posts folder.

Modify the new_post_name setting in _config.yml:

1
new_post_name: :year-:month-:day-:title.md

Octopress

Move all files in the Octopress source/_posts folder to source/_posts

Modify the new_post_name setting in _config.yml:

1
new_post_name: :year-:month-:day-:title.md

WordPress

First, install the hexo-migrator-wordpress plugin.

1
$ npm install hexo-migrator-wordpress --save

Export your WordPress site by going to “Tools” → “Export” → “WordPress” in the WordPress dashboard (see the WordPress support page for more details).

Now run:

1
$ hexo migrate wordpress <source>

Where source is the file path or URL to the WordPress export file.

Joomla

First, install the hexo-migrator-joomla plugin.

1
$ npm install hexo-migrator-joomla --save

Export your Joomla articles using the J2XML component.

Now run:

1
$ hexo migrate joomla <source>

Where source is the file path or URL to the Joomla export file.

扫码领红包

2018双11超级红包
PC访问链接: 2018双11超级红包 预售开启 汇聚全球潮流新品

淘口令:¥20Y0b6q4eHR¥ (复制此行再打开手机淘宝客访问)

最后更新: 2018年12月03日 09:29

原始链接: https://cyc.oy99.com/docs/migration.html

× 多少都行~
打赏二维码
×
  • {title}