Skip to content

fix(news): replace dead BIG10 RSS URL, upgrade HTTP feeds to HTTPS#112

Open
5ymb01 wants to merge 1 commit intoChuckBuilds:mainfrom
5ymb01:fix/news-rss-feeds
Open

fix(news): replace dead BIG10 RSS URL, upgrade HTTP feeds to HTTPS#112
5ymb01 wants to merge 1 commit intoChuckBuilds:mainfrom
5ymb01:fix/news-rss-feeds

Conversation

@5ymb01
Copy link
Copy Markdown
Contributor

@5ymb01 5ymb01 commented Apr 29, 2026

Summary

The News Ticker plugin's BIG10 feed URL pointed to espn.com/blog/feed?blog=bigten, which now returns HTML instead of RSS XML, causing XML parse errors on every update cycle. Additionally, the MLB and NFL feeds used http:// URLs that 301-redirect to https://, adding latency and a redirect hop on every fetch.

Type of change

  • Bug fix in an existing plugin

Plugin(s) affected

news

Related issues

N/A — no existing issue.

Test plan

  • Loaded the plugin in LEDMatrix on real hardware (Pi running 5ymb01 fork)
  • Verified URL liveness with curl:
    • Old BIG10 (espn.com/blog/feed?blog=bigten): returns 301 + HTML, not RSS
    • New BIG10 (espn.com/espn/rss/ncf/news): 200, valid RSS XML
    • Old MLB (http://espn.com/...): 301 redirect
    • New MLB (https://www.espn.com/...): 200 direct

Required for plugin changes

  • Bumped version in plugins/news/manifest.json (1.0.4 → 1.0.5)
  • class_name matches actual class
  • entry_point matches the real file
  • README.md does not need updates (no config keys changed)
  • config_schema.json unchanged (defaults are internal)
  • update_registry.py ran successfully (plugins.json updated)

Checklist

  • My commits follow the message convention in CONTRIBUTING.md
  • I read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • I've not committed any secrets

Notes for reviewer

The replacement BIG10 feed is the general ESPN college football RSS rather than a Big-Ten-specific one — ESPN no longer publishes a Big-Ten-only RSS feed that I could find. Open to alternative URLs if you know of a better one.

Summary by CodeRabbit

  • Bug Fixes

    • ESPN MLB and NFL news sources now use secure HTTPS connections for improved security and reliability
  • Updates

    • Big Ten college football news feed updated to ESPN's NCAA Football feed, changing the available headlines and coverage scope

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@5ymb01 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 44 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 920d7923-9dc4-415f-a90f-216a39fa4176

📥 Commits

Reviewing files that changed from the base of the PR and between f7de01b and 9560edf.

📒 Files selected for processing (3)
  • plugins.json
  • plugins/news/manager.py
  • plugins/news/manifest.json
📝 Walkthrough

Walkthrough

Default predefined RSS feed URLs in the news plugin are updated: ESPN MLB and NFL sources switch from HTTP to HTTPS, and the BIG10 feed source is redirected from a Big Ten blog RSS endpoint to the ESPN NCAA Football news endpoint.

Changes

Cohort / File(s) Summary
RSS Feed Configuration
plugins/news/manager.py
Updated NewsTickerPlugin.DEFAULT_FEEDS constant: MLB and NFL feeds upgraded to HTTPS URLs with domain normalization, and BIG10 feed redirected from blog feed to ESPN NCAA Football news endpoint.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main changes: replacing a dead BIG10 RSS feed URL and upgrading HTTP feeds to HTTPS, which matches the primary objectives of the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 57 minutes and 44 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

- BIG10 feed pointed to espn.com/blog/feed?blog=bigten which returns
  HTML (not RSS XML), causing XML parse errors on every update cycle.
  Replaced with ESPN college football RSS which covers Big Ten content.
- MLB and NFL feeds used http:// URLs causing unnecessary 301 redirects.
  Upgraded to https://www.espn.com canonical URLs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@5ymb01 5ymb01 force-pushed the fix/news-rss-feeds branch from f7de01b to 9560edf Compare April 29, 2026 04:00
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@plugins/news/manager.py`:
- Line 59: The BIG10 entry in the RSS mapping now points to the same URL as NCAA
FB, causing duplicate headlines; fix by either (A) restoring or removing BIG10:
update the mapping key 'BIG10' to the correct conference-specific RSS URL (or
remove it and add a deprecation comment/README note) so it no longer equals the
'NCAA FB' URL, or (B) keep both keys but add URL-level deduplication in the news
fetch/update code (e.g., inside the functions that aggregate feeds such as
fetch_and_update_headlines or fetch_feed_urls) to filter identical feed URLs and
dedupe items by canonical URL/guid before inserting, and update the README to
reflect the chosen approach.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b6906410-9dba-4725-8303-141ea0d52760

📥 Commits

Reviewing files that changed from the base of the PR and between 17a2bee and f7de01b.

📒 Files selected for processing (1)
  • plugins/news/manager.py

Comment thread plugins/news/manager.py
'NCAA FB': 'https://www.espn.com/espn/rss/ncf/news',
'NHL': 'https://www.espn.com/espn/rss/nhl/news',
'NBA': 'https://www.espn.com/espn/rss/nba/news',
'TOP SPORTS': 'https://www.espn.com/espn/rss/news',
'BIG10': 'https://www.espn.com/blog/feed?blog=bigten',
'BIG10': 'https://www.espn.com/espn/rss/ncf/news',
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

BIG10 now points to the same feed as NCAA FB, causing semantic drift and possible duplicate headlines.

At Line 59, BIG10 now resolves to ncf/news, which is already used by NCAA FB (Line 55). If both are enabled, users can get duplicated content and BIG10 no longer represents conference-specific headlines. Please either (a) rename/deprecate BIG10, or (b) keep BIG10 and add URL-level deduping in fetch/update logic plus README alignment.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@plugins/news/manager.py` at line 59, The BIG10 entry in the RSS mapping now
points to the same URL as NCAA FB, causing duplicate headlines; fix by either
(A) restoring or removing BIG10: update the mapping key 'BIG10' to the correct
conference-specific RSS URL (or remove it and add a deprecation comment/README
note) so it no longer equals the 'NCAA FB' URL, or (B) keep both keys but add
URL-level deduplication in the news fetch/update code (e.g., inside the
functions that aggregate feeds such as fetch_and_update_headlines or
fetch_feed_urls) to filter identical feed URLs and dedupe items by canonical
URL/guid before inserting, and update the README to reflect the chosen approach.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@5ymb01 is this intended?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants