1.1.1 • Published 6 years ago

wordpress-comments-jekyll-staticman v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

wordpress-comments-jekyll-staticman

NPM Version travis xo

You can now use a full export tool (Including posts, pages & comments) with this tool.

This little import tool allow to imports comments from a WordPress blog, to be used on Jekyll with Staticman.

Install

npm i wordpress-comments-jekyll-staticman -g

Usage

First, import your comments from WordPress with the built-in export tool, then launch this command:

wp2sm {{ xml file }} {{ folder for comments }}

Example:

wp2sm comments.xml /my/folder

Staticman settings

Theses settings are used on the app, and was made to work with this kind of themes.

You can paste this fields to your staticman.yml file:

staticman:
  allowedFields          : ['name', 'email', 'url', 'message']
  filename               : comment-{@timestamp}
  format                 : "yml"
  path                   : "/_data/comments/{options.slug}"

Licence

MIT

1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago