Core Publisher

Recent posts

Create Your Favorite StateImpact Features in Core Publisher

NPR Digital Services has created an excellent resource for reporters who are new to Core Publisher, replete with a downloadable manual. There are a few things, though, that we’ve grown accustomed to created on our WordPress StateImpact sites that are not yet included in that documentation.

Below are some of our recommendations for how you can duplicate some of those features (including maps, charts and graphs, tables, document viewers, images, topic pages, pages, featured posts) on your station site.

MAPS

  • Google Fusion Maps can be embedded as iframes and include the new built-in legend feature. This works well in both Core Publisher posts and pages.

Here is some guidance to help you through that process.

CHARTS AND GRAPHS

  • Google Spreadsheets will likely be the best option, even though images will have to be created and uploaded as full-screen images OR as iframes. It isn’t optimal, but it work.

Toolbox Instructions from Emilie Ritter Saunders on embedding them (and instructions from Yan Lu on creating charts and graphs, if you’re not too comfortable with that part).

  • For ready-made Google charts with official data, like this, the iFrame embed is a good option and easy to update.

  • Also, if you are going the iframe route,know that you can modify the iframe width and/or height to 100%. To do this, simply add 100% (including the percent sign) into the embed code, overriding the pixel measurements.

TABLES

  • Tables can easily be displayed in Core Publisher by using the iframe publishing option in Google Fusion Tables. However, filterable tables are not an option, unfortunately. Continue reading

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:

Nuts and Bolts: Embed Charts and Tables in WordPress and Core Publisher

After you get your chart or table into Google Drive and formatted the way you’d like to, follow these steps, kindly collected by data viz maven Emilie Ritter Saunders, to get it into your post:

Embedding Charts in WordPress

  1. Make your chart public to the web: Share —-> Change “public on the web”
  2. Publish your table: Click the arrow dropdown (upper right corner of the chart) —-> Select a chart1publish format “Image.”
  3. Copy that “Image” code and paste it into the HTML side of your WordPress editor.

Embedding Tables in WordPress

  1. Make your table public to the web: Share —-> Change “public on the web”
  2. Publish your table: File —-> Publish to the web —-> Click Publish or Republish Now
  3. Copy the URL.
  4. Paste the URL into the spreadsheet function in WordPress, “Google Spreadsheet Key.” Continue reading