Skip to content

Add feed filtering functionality#262

Merged
w3stling merged 1 commit intomasterfrom
feed-filter
Oct 19, 2025
Merged

Add feed filtering functionality#262
w3stling merged 1 commit intomasterfrom
feed-filter

Conversation

@w3stling
Copy link
Owner

@w3stling w3stling commented Oct 19, 2025

This PR adds feed filtering functionality by introducing a FeedFilter interface. A filter can modify or transform a feed before it is parsed into Item objects.

The feed filter is added to the RssReader by calling the addFeedFilter method.

Example:

var list = new RssReader()
        .addFeedFilter(new InvalidXmlCharacterFilter())
        .read(fileInputSteam)
        .collect(Collectors.toList());

@w3stling w3stling added the enhancement New feature or request label Oct 19, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
18.2% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube Cloud

@github-actions
Copy link

Test Results

 11 files   11 suites   27s ⏱️
303 tests 301 ✅ 2 💤 0 ❌
311 runs  309 ✅ 2 💤 0 ❌

Results for commit c3cb551.

@w3stling w3stling merged commit 3e4c110 into master Oct 19, 2025
6 of 7 checks passed
@w3stling w3stling deleted the feed-filter branch October 19, 2025 21:25
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.

1 participant