Author Archives: John Stefany

Using The NPR API To Share Your Work

We’re implementing a new WordPress plugin to “ingest” StateImpact posts into the NPR API and, thus, your stations’ sites.

Most of our states have been pushing posts to the API since launch. But the plugin that we’d been using had limited functionality. Kevin Moylan and others at NPR Digital Services have been working on developing a new plugin that works much better. And, now, it is ready to launch.

Here’s what you can expect to transfer nicely from WordPress to Core Publisher using v1.5 of the plugin:

  • Regular posts (including bylines and excerpts)
  • Inline Images (including captions and credits). All images in the post will be sent to the API regardless of the “can distribute” flag in the WordPress Media Library. 
  • Audio (see instructions below)
  • Video embeds (and other iFrames that can be inserted into posts)

Features that won’t transfer nicely (many of which you can still recreate manually in Core Publisher by following these instructions) include: