podson
Reads podcast feeds and converts them into json.
Last updated a year ago by keldrik .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install podson 
SYNC missed versions from official npm registry.

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);
})();

Current Tags

  • 1.1.0                                ...           latest (a year ago)

6 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.2.1                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |