podcast-partytime v4.8.0
Partytime Podcast Parser
Podcast feed parser extracted from podcast index - https://github.com/Podcastindex-org/aggregator/tree/master/partytime
This package will also identify new namespace elements and call out the "phases" implemented by the feed in a __phase
element.
Usage
npm install podcast-partytime
Typescript
import fetch from "node-fetch";
import * as pt from "podcast-partytime";
// Check CORS support
pt.checkFeedByUri("https://www.spreaker.com/show/3128218/episodes/feed").then(console.log);
fetch("http://mp3s.nashownotes.com/pc20rss.xml")
.then((resp) => resp.text())
.then((xml) =>
console.log(
pt.checkFeedByObject({
uri: "http://mp3s.nashownotes.com/pc20rss.xml",
feedObject: pt.parseFeed(xml),
})
)
);
// Parse Feed
fetch("http://mp3s.nashownotes.com/pc20rss.xml")
.then((resp) => resp.text())
.then((xml) => console.log(pt.parseFeed(xml)));
Javascript
const fetch = require("node-fetch");
const pt = require("podcast-partytime");
// Check CORS support
pt.checkFeedByUri("https://www.spreaker.com/show/3128218/episodes/feed").then(console.log);
fetch("http://mp3s.nashownotes.com/pc20rss.xml")
.then((resp) => resp.text())
.then((xml) =>
console.log(
pt.checkFeedByObject({
uri: "http://mp3s.nashownotes.com/pc20rss.xml",
feedObject: pt.parseFeed(xml),
})
)
);
// Parse Feed
fetch("http://mp3s.nashownotes.com/pc20rss.xml")
.then((resp) => resp.text())
.then((xml) => console.log(pt.parseFeed(xml)));
Resources
Sample Feeds
The sample feeds below were chosen for their varied nature. Including things like non-traditional titles, different publishers, and season usage.
5 months ago
5 months ago
6 months ago
6 months ago
7 months ago
7 months ago
6 months ago
9 months ago
9 months ago
11 months ago
12 months ago
9 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago