n-podcast-mapping
Aggregated metadata and associated data for podcasts.
Installation
npm install --save Financial-Times/n-podcast-mapping
Usage
var podcastMapping = ; // returns an array of external links for the given showvar urls = podcastMapping; console; // [ 'https://itunes', 'http://soundcloud' ] // returns an array of tags for the given showvar tags = podcastMapping; console; // [ { id: "…", name: "…", taxonomy: "…" }, {…} ] // returns an array of primary sections used by each showvar primaryTags = podcastMapping; console; // [ { id: "…", name: "…", taxonomy: "…" }, {…} ] // returns a de-duplicated array of all the tags used by the showsvar uniqueTags = podcastMapping; console; // [ { id: "…", name: "…", taxonomy: "…" }, {…} ] // check if a tag ID is a type of podcastvar tagId = 'NzA0NWQ2OTUtNDdhZC00ZGMxLWI4MGEtODZkYTY5MjQ0ZTk1-QnJhbmRz'; console; // true
This component needs releasing manually