defmodule PodcastFeed do @moduledoc """ PodcastFeed keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ alias PodcastFeed.Provider.Archive def archive() do Archive.Parser.feed('https://ia601402.us.archive.org/8/items/incontri-a-piano-terra/incontri-a-piano-terra_files.xml') #FIXME: should be dynamic |> IO.inspect end end # # Episode Name 2 # # http://podcast.example.com/episode2.mp4 # # Sat, 02 Jan 2016 16:00:00 PDT # # The full length episode 2 description # # # # http://podcast.example.com/episode2.mp4 # # 19:07 # # The full length episode 2 description # # # # comma,separated,key,words # # no # # # # # http://www.YourSite.com # en-us # ©2013 # your@email.com (Your Name) # your@email.com (Your Name) # # http://www.YourSite.com/ImageSize300X300.jpg # Title or description of your logo # http://www.YourSite.com # # # Your Name # your@email.com # # # # # separate, by, comma, and, space # no # # # Sun, 01 Jan 2012 00:00:00 EST # Verbose title of the podcast # College, school, or department owning the podcast # Verbose description of the podcast. # Duplicate of above verbose description. # Short description of the podcast - 255 character max. # Thu, 02 Feb 2012 00:00:00 EST # # Verbose title of the episode # Verbose description of the episode. # Duplicate of above verbose description. # Short description of the episode - 255 character max. # # # http://www.YourSite.com/FILE.EXT # H:MM:SS # Thu, 02 Feb 2012 00:00:00 EST # # #