Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurlacoste/wordpress2jekyll
Export from a WordPress blog to Jekyll.
https://github.com/arthurlacoste/wordpress2jekyll
Last synced: 2 months ago
JSON representation
Export from a WordPress blog to Jekyll.
- Host: GitHub
- URL: https://github.com/arthurlacoste/wordpress2jekyll
- Owner: arthurlacoste
- License: mit
- Created: 2017-11-28T14:59:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T16:23:44.000Z (about 7 years ago)
- Last Synced: 2024-10-28T12:55:41.834Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Wordpress to Jekyll
[![NPM Version][npm-version]][npm-url]
[![travis][travis-badge]][travis-url]
[![xo][xo-badge]][xo-url]This tool allow you to export **almost all of your posts and pages contents** (including comments) from a WordPress blog, to be used on [Jekyll] with [Staticman] (v2).
## Install
```
npm i wordpress2jekyll -g
```## Usage
First, emport all data from WordPress with the built-in export tool (Tool > Export), then launch this command:
```terminal
wp2jekyll {{ xml file }} {{ folder for comments }}
```Example:
```terminal
wp2jekyll myblog.xml /my/folder
```# Licence
MIT
[npm-version]:https://img.shields.io/npm/v/wordpress2jekyll.svg
[npm-url]: https://npmjs.org/package/wordpress2jekyll
[travis-badge]: http://img.shields.io/travis/arthurlacoste/wordpress2jekyll.svg
[travis-url]: https://travis-ci.org/arthurlacoste/wordpress2jekyll
[xo-badge]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg
[xo-url]: https://github.com/sindresorhus/xo[Jekyll]: https://jekyllrb.com
[Staticman]: https://staticman.net