@xapp/stentor-service-rss-feed 1.86.6 → 1.86.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1 +1,17 @@
1
- Copy this to create a new package under `/packages`
1
+ ## @xapp/stentor-service-rss-feed
2
+
3
+ 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.
4
+
5
+ ### Usage
6
+
7
+ ```ts
8
+ import { RSSFeedService } from "@xapp/stentor-service-rss-feed";
9
+
10
+ const rssFeed = new RSSFeedService({ url: "https://example.com/podcast.rss" });
11
+ const feed = await rssFeed.getFeed({ episodeLimit: 15 });
12
+ ```
13
+
14
+ ### Documentation
15
+
16
+ - [RSS 2.0 specification](https://www.rssboard.org/rss-specification)
17
+ - [Apple Podcasts RSS requirements (iTunes tags)](https://podcasters.apple.com/support/823-podcast-requirements)
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.86.6",
7
+ "version": "1.86.8",
8
8
  "description": "PLACEHOLDER DESCRIPTION OF PACKAGE",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -27,11 +27,11 @@
27
27
  "mocha": "11.8.0",
28
28
  "sinon": "21.0.0",
29
29
  "sinon-chai": "3.7.0",
30
- "stentor-constants": "1.74.5",
31
- "stentor-media": "1.74.9",
32
- "stentor-models": "1.79.0",
33
- "stentor-service-fetch": "1.74.5",
34
- "stentor-utils": "1.75.4",
30
+ "stentor-constants": "1.74.7",
31
+ "stentor-media": "1.74.14",
32
+ "stentor-models": "1.81.0",
33
+ "stentor-service-fetch": "1.74.7",
34
+ "stentor-utils": "1.76.2",
35
35
  "ts-node": "10.9.2",
36
36
  "typescript": "5.9.3"
37
37
  },