4.8.0 • Published 5 months ago

podcast-partytime v4.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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.

4.8.0

5 months ago

4.8.1-beta.0

5 months ago

4.8.0-beta.0

6 months ago

4.8.0-beta.1

6 months ago

4.6.3

7 months ago

4.6.2

7 months ago

4.7.0

6 months ago

4.6.1

9 months ago

4.6.0

9 months ago

4.6.0-beta.3

11 months ago

4.6.0-beta.2

12 months ago

4.6.1-beta.0

9 months ago

4.6.0-beta.1

12 months ago

4.5.4

1 year ago

4.5.3

1 year ago

4.5.5

1 year ago

4.5.2

1 year ago

4.4.0

2 years ago

4.5.0

2 years ago

4.5.1

2 years ago

4.3.6

2 years ago

4.3.5

2 years ago

4.3.7

2 years ago

4.3.4

2 years ago

4.3.3

2 years ago

4.3.2

2 years ago

4.3.3-beta.1

2 years ago

4.3.3-beta.2

2 years ago

4.3.3-beta.3

2 years ago

4.3.1-beta.0

2 years ago

4.3.1-beta.3

2 years ago

4.3.1-beta.1

2 years ago

4.3.0

2 years ago

4.3.1-beta.2

2 years ago

4.2.0

2 years ago

4.1.0-pending.4

2 years ago

4.0.2-preview.0

3 years ago

4.1.0-pending.0

3 years ago

4.1.0-pending.2

3 years ago

4.1.0-pending.1

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.1.0-pending.3

3 years ago

4.0.0-beta.5

3 years ago

4.0.0-beta.4

3 years ago

4.0.0-beta.3

3 years ago

4.0.0-beta.2

3 years ago

4.0.0-beta.1

3 years ago

4.0.0-beta.0

3 years ago

4.0.0

3 years ago

3.0.0

3 years ago

3.0.0-beta.0

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

0.1.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.3

3 years ago

0.0.1

3 years ago