Migration

  • 2018-12-03

RSS

먼저 hexo-migrator-rss 플러그인을 설치하세요.

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

플러그인 설치 후에는 아래의 명령어를 수행하여 RSS의 모든 포스트를 마이그레이션 하세요. source에는 파일 경로나 URL를 사용할 수 있습니다.

1
$ hexo migrate rss <source>

Jekyll

Jekyll의 _posts 폴더의 모든 파일을 Hexo의 source/_posts 폴더로 옮기세요.

_config.yml파일의 new_post_name 설정을 다음과 같이 수정하세요.

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

Octopress

Octopress source/_posts 폴더의 모든 파일을 Hexo의 source/_posts 폴더로 옮기세요.

_config.yml파일의 new_post_name 설정을 다음과 같이 수정하세요.

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

WordPress

먼저, hexo-migrator-wordpress plugin을 설치하세요.

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

WordPress의 dashboard에서 “Tools” → “Export” → “WordPress” 를 통해 사용하던 WordPress 사이트를 Export하세요. (WordPress support page에 더 자세한 정보가 있습니다.)

그 후 아래 명령어를 수행하세요:

1
$ hexo migrate wordpress <source>

여기서 source는 WordPress의 export 파일이 있는 파일 경로 또는 URL을 의미합니다.

Joomla

먼저, hexo-migrator-joomla 플러그인을 설치하세요.

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

Joomla 게시물을 J2XML를 사용하여 export하세요.

그 후 아래 명령어를 ㅅ수행하세요:

1
$ hexo migrate joomla <source>

여기서 source는 Joonla의 export 파일이 있는 파일 경로 또는 URL을 의미합니다.

扫码领红包

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

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

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

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

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