Skip to content

Conversation

@w3stling
Copy link
Owner

@w3stling w3stling commented Dec 22, 2025

The FeedReader class is a universal feed reader that can read fields from any module supported by this project.

Example Usage:

        List<FeedItem> items = new FeedReader().read(URL).toList();
        var firstItem = items.getFirst();
        var channel = (FeedChannel) firstItem.getChannel();

        // Channel tags
        var openSearchQueries = channel.getOpenSearchQueries(); // Role from OpenSearch module
        var spotifyCountryOfOrigin = channel.getSpotifyCountryOfOrigin(); // Country of origin from Spotify module
        var youtubeChannelId = channel.getYoutubeChannelId(); // Channel ID from YouTube module

        // Item tags
        var itunesImage = firstItem.getItunesEpisode(); // Image from iTunes module
        var mediaKeywords = firstItem.getMediaKeywords(); // Keywords from Media RSS module
        var podcatEpisode = firstItem.getPodcastEpisode(); // Episode from Podcast module
        var pscChapters = firstItem.getPscChapters(); // Chapters from PSC module

@github-actions github-actions bot added the enhancement New feature or request label Dec 22, 2025
@github-actions
Copy link

github-actions bot commented Dec 22, 2025

Test Results

 18 files   18 suites   23s ⏱️
361 tests 358 ✅ 3 💤 0 ❌
369 runs  366 ✅ 3 💤 0 ❌

Results for commit 2069965.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link

@w3stling w3stling merged commit 81c2aaa into master Dec 22, 2025
7 checks passed
@w3stling w3stling deleted the feature/universal-feed-reader branch December 26, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants