@xapp/stentor-service-rss-feed
v1.86.8
Published
PLACEHOLDER DESCRIPTION OF PACKAGE
Downloads
8,163
Readme
@xapp/stentor-service-rss-feed
Fetches an RSS/podcast XML feed over HTTP and parses it (via xml2js) into a Stentor RSSFeed of playable RSSFeedItemPlayableMedia items, resolving iTunes tags (image, subtitle, explicit flag), episode enclosure/audio URLs, and converting HTML episode descriptions to plain text.
Usage
import { RSSFeedService } from "@xapp/stentor-service-rss-feed";
const rssFeed = new RSSFeedService({ url: "https://example.com/podcast.rss" });
const feed = await rssFeed.getFeed({ episodeLimit: 15 });