8000 GitHub - avinashmg/podfeed: Generate and parse podcast feeds easily
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

avinashmg/podfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

podfeed

Generate and parse podcast syndication easily

You can use this library to create podcast rss feeds and to read existing podcast rss feeds inorder to make changes into that.

Installation

$ npm install podfeed

Or

$ yarn install podfeed

How to use Podfeed

Import Podfeed

const Podfeed = require("podfeed")

Create a Podcast Feed Object

 const feed = Podfeed()

Provide podcast info

feed.title= "Title of the Podcast"
feed.description="Description of the Podcast"
feed.link = "https://link-of-the-podcast.tld"
feed.image = "https://image.link.of.the.podcast"
feed.category = "Category of your podcast"

Provide podcast owner info

const owner = { 
  title: 'JRE', 
  email:'example@mail.com' 
}
feed.owner = owner

Add an episode to the podcast

const episode = {
      title: 'Episode Title',
      description: 'Episode Description',
      link: 'https://podcast.tld/episode',
      guid: 'Unique Identifier for this episode',
      src: 'https://public-link-to-audio-file-hosted-online.tld',
      date: 'Date in UTC string'
}
feed.addEpisode(episode)

Build Podcast RSS feed

feed.build() // Returns a string with rss feed content. can be stored to a file

Read an existing podcast rss feed

feed.read(rss_feed) // Pass rss feed content

Statuts of the project

More work are to be done to this project, if encountered with any issues report it here

About

Generate and parse podcast feeds easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0