Skip to content
A Jekyll Plugin to pull posts from a WordPress site through the new REST API (currently kinda broken)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
_layouts
_plugins Adds some soft update checking based on date. Feb 8, 2015
_posts
_sass
css And so was born a Jekyll plugin Jan 28, 2015
.gitignore
Gemfile Require the latest version of wordpress-api Feb 8, 2015
README.md
_config.yml
about.md
feed.xml
index.html

README.md

rePress

WordPress will soon release a REST API as a core feature. The code is currently available as a plugin so that WP contributors can iterate on it with real users without throwing it immediately into the codebase. (WordPress calls it a "Feature Plugin.") This is a Jekyll Plugin that will ingest data from a WordPress API and export Jekyll posts at the time the site is built. You can have the WordPress site running anywhere you want, even on a local web server. All you need to do is install the plugin, for now, and know where the API endpoint is (usually wp-json).

The ultimate goal is a Jekyll installation where you can write posts in either the WordPress content editor or as Markdown files served on a Jekyll-built site.

Configuration

  1. Have a WordPress site with the REST API installed
  2. Install Jekyll
  3. Put the address for the root endpoint in _config.yml under the wpApi key
  4. Build the site

Support

The plugin currently supports ingesting posts and exporting the raw post content. And currently has some characters like pipes showing up in strange places. But, hey, we're just getting started! This is very much a work in progress and contributions and bits of advice are welcome.

You can’t perform that action at this time.