NPR Content Distribution Service


The NPR Content Distribution System (CDS) Plugin provides push and pull functionality with the NPR CDS along with a user-friendly administrative interface.

NPR’s CDS is a content API, which essentially provides a structured way for other computer applications to get NPR stories in a predictable, flexible and powerful way. The content that is available includes audio from most NPR programs dating back to 1995 as well as text, images and other web-only content from NPR and NPR member stations. This archive consists of over 250,000 stories that are grouped into more than 5,000 different aggregations.

This plugin also allows you to push your content to the NPR CDS, so that it can be republished by NPR or other NPR member stations.

Access to the NPR CDS requires a bearer token, provided by NPR. If you are an NPR member station or are working with an NPR member station and do not know your key, please ask NPR station relations for help.

Usage of this plugin is governed by NPR’s Terms of Use, and more specifically their API Usage terms.

The WordPress plugin was originally developed as an Open Source plugin by NPR and is now supported by developers with NPR member stations working within the Open Public Media group. If you would like to suggest features or bug fixes, or better yet if you would like to contribute new features or bug fixes please visit our GitHub repository and post an issue or contribute a pull request.


  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings > NPR CDS screen to configure the plugin. Begin by entering your CDS token, then add your Push URL and Org ID.

அடிக்கடி கேட்கப்படும் கேள்விகள்

Can anyone get an NPR CDS Token?

If you are an NPR member station or are working with an NPR member station and do not know your key, please ask NPR station relations for help.

Can anyone push content into the NPR CDS using this plugin?

Push requires an Organization ID in the NPR CDS, which is typically given out to only NPR stations and approved content providers. If that’s you, you probably already have an Organization ID.

Where can I find NPR’s documentation on the NPR CDS?

There is documentation in the NPR’s Github site.


இந்த செருகுநிரலுக்கு மதிப்புரைகள் எதுவும் இல்லை.

பங்களிப்பாளர்கள் & உருவாக்குனர்கள்

“NPR Content Distribution Service” is open source software. The following people have contributed to this plugin.




  • Default cron job timing is now 1 hour (was previously a minute because it wasn’t properly being converted into seconds)
  • Cron jobs are no longer scheduled if there are no queries configured


  • Fixing a problem where Get Multi queries run via WP_Cron would silently fail because npr_cds_push() would check if the current user had publishing rights and execute wp_die(). WP_Cron doesn’t run as a specific user, therefore it doesn’t technically have publishing rights. npr_cds_push()
    now checks if the post was retrieved from the CDS first before checking publishing rights.


  • Fixing warnings and a few fatal errors in NPR_CDS_WP.php


  • Fixing improperly escaped HTML in post editor meta boxes


  • Fixing a bunch of warnings in classes/NPR_CDS_WP.php
  • Changing the behavior the Get Multi setting Run the queries on saving changes so that it runs once and then turns off. That way, it doesn’t run every time you save changes on the page.
  • Fixed issue where updates to bulk actions dropdowns were being duplicated


  • Overhaul to enable pulling from NPR’s Content Distribution Service, which is the next generation of the Story API.
  • Previous version notes can be found in the NPR Story API plugin repository