1.3.0 • Published 4 years ago

podson v1.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

podson

Parses a remote podcast feed and returns javascript object.

Output

{
  "title": "Podcast Title",
  "summary": "Podcast Summary",
  "description": "Podcast Description",
  "link": "Podcast Link",
  "image": "Podcast Image",
  "language": "Language",
  "copyright": "Copyright",
  "updated": "PubDate",
  "categories": ["Category", "Category Subcategory"],
  "owner": {
    "name": "Author Name",
    "email": "Author Email"
  },
  "episodes": [
    {
      "guid": "Unique Id",
      "title": "Episode Title",
      "subtitle": "Episode Subtitle",
      "description": "Episode Description",
      "summary": "Episode Summary",
      "content": "<Content Encoded>",
      "image": "Episode Image",
      "published": "Date",
      "duration": 456,
      "categories": ["Category"],
      "enclosure": {
        "filesize": 123456789,
        "type": "Media Type",
        "url": "File Url"
      },
      "chapters": [
        {
          "start": 123456,
          "title": "Chapter Title"
        }
      ]
    }
  ]
}

Usage Example with Async and Await

const podson = require('podson');
const feedUrl = 'Podcast Feed URL';

(async () => {
  const x = await podson.getPodcast(feedUrl);
  console.log(x);
})();
1.3.0

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.2.1

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago