Skip to content

simplecastapps/podcast-feeds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Podcast-Feeds

Build Status

Elixir RSS/Atom parser library for Podcast feeds. Built on the erlsom xml parser in SAX mode. It uses timex for parsing dates.

Podcast-Feeds eats Feeds (XML Strings) and parses them into an Elixir Struct.

defmodule Feed do
  defstruct meta: nil, 
            entries: []
end

meta, entries and other structs are described in lib/poscast-feeds.ex

Setup

For a quick check in iex:

mix deps.get
iex -S mix
iex(5)> PodcastFeeds.parse(File.read!("test/fixtures/rss2/sample1.xml"))

TODO

  • factor out all parse utils into its own module, accessible from extension modules
  • record used namespaces
  • implement atom namespace
  • implement itunes namespace
  • implement psc namespace
  • implement content (encoded) namespace
  • support feeds in atom format
  • introduce some kind of error/warning stack for feed shaming

About

Podcast Feed parsing in Elixir.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%