Simpler library to read podcast feeds
Read Feed
Podcast podcast = PodcastLoader.load(new URL("FEED URL"));
System.out.println("Title - " + podcast.getTitle());
val podcast = PodcastLoader.load(URL("FEED URL"))
println("Title - ${podcast.title}")
Get Episodes
Podcast podcast = PodcastLoader.load(new URL("FEED URL"));
List<Episode> episodes = podcast.getEpisodes();
for(Episode episode : episodes) {
System.out.println("Episode Title - " + episode.getTitle());
}
val podcast = PodcastLoader.load(URL("FEED URL"))
val episodes = podcast.episodes
episodes.forEach {
println("Episode Title - ${it.title}"
}
- Add the JitPack.io repo to your gradle config:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add Podkast as dependency:
dependencies {
compile 'com.github.robinkanters:podkast:0.1.1'
}
Podcast-Feed-Library Original implementation in Java