forked from OpenPublicMedia/npr-cds-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
71 lines (42 loc) · 3.59 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
=== NPR Content Distribution Service ===
Contributors: jwcounts, tamw-wnet, bdivver
Donate link: https://www.npr.org/series/750002/support-public-radio
Tags: npr, news, public radio, api
Requires at least: 3.8.14
Tested up to: 6.1
Stable tag: 1.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nprapi
A collection of tools for reusing content from NPR.org, now maintained and updated by NPR member station developers.
== Description ==
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.
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](https://studio.npr.org).
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](https://github.com/OpenPublicMedia/npr-cds-wordpress) and post an issue or contribute a pull request.
== Installation ==
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.
== Frequently Asked Questions ==
= 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](https://studio.npr.org).
= 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](https://npr.github.io/content-distribution-service/).
== Screenshots ==
NPR Story API Plugin Settings screen
![NPR Story API Plugin Settings screen](docs/assets/img/npr-api-wp-plugin-settings.png)
NPR Story API multiple get settings
![NPR Story API multiple get settings](docs/assets/img/npr-api-multiple-get-settings.png)
Get NPR Stories link in the dashboard
![Get NPR Stories link in the dashboard](docs/assets/img/get-npr-stories-link.png)
Getting an NPR Story by Story ID
![Getting NPR Stories by Story ID](docs/assets/img/get-npr-stories-link.png)
NPR Stories having got gotten
![NPR Stories having got gotten](docs/assets/img/npr-stories.png)
== Changelog ==
= V1.0 =
* 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](https://github.com/OpenPublicMedia/nprapi-wordpress)