Miss any of our Open RFC calls?Watch the recordings here! »

podcastsuite

1.1.1 • Public • Published

Podcast Suite

Podcast Suite is JS Library focused on handling Podcast RSS Sources. NPM PodcastSuite

Features:

  • Fetch RSS Content
  • Proxy Request
  • Parse XML-RSS Content
  • Return a JS Object
  • Async Events
  • Caching Engine powered by indexDB
  • Freshness status
  • Offline Media
import PS from 'podcastsuite';
const proxy = {
        'https:': 'https://cors.cleaner.com/',
        'http:': 'http://cors.cleaner.com'
    };
 
const fresh = 1000000;
const npr = "https://www.npr.org/rss/podcast.php?id=510318";
const lore = "https://feeds.megaphone.fm/lore";
const feedburner = "http://feeds.feedburner.com/SlatesTrumpcast";
const podcasts = [npr, lore, feedburner];
 
const Library = new PS({proxy, podcasts, fresh }); //
const podcast = Library.getPodcast(npr);
 
 
/*
IPodcast {
    title?: string;
    description?: string;
    url: string;
    link?: string;
    image?: string;
    items?: any[];
    created: number;
    length?: number;
}
*/
 

https://github.com/gpodder/podcast-feed-best-practice/blob/master/podcast-feed-best-practice.md

Keywords

Install

npm i podcastsuite

DownloadsWeekly Downloads

22

Version

1.1.1

License

MIT

Unpacked Size

15.1 MB

Total Files

217

Last publish

Collaborators

  • avatar