Skip to content

Fix RSS feed validation errors#181

Merged
thekoma merged 1 commit intomainfrom
fix/rss-feed-validation
Mar 18, 2026
Merged

Fix RSS feed validation errors#181
thekoma merged 1 commit intomainfrom
fix/rss-feed-validation

Conversation

@thekoma
Copy link
Owner

@thekoma thekoma commented Mar 18, 2026

Summary

  • Fix 6 RSS feed validation errors reported by feed validators (invalid <author> in channel, wrong email format, missing timezone in pubDate, escaped CDATA, deprecated googleplay namespace, incorrect self-link)
  • Add feedparser dev dependency and 16 feed validation tests covering XML validity, RSS 2.0 compliance, special characters, and RDF feeds

Test plan

🤖 Generated with Claude Code

- Remove invalid <author> from channel (not RSS 2.0 compliant)
- Fix item <author> format to 'email (name)' per RSS 2.0 spec
- Ensure pubDate always includes timezone (fallback to CET)
- Remove manually wrapped CDATA (was being escaped by xml.etree)
- Remove deprecated googleplay namespace
- Pass request URL as atom:link self-href for correct self-reference
- Add feedparser dev dependency and 16 feed validation tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@thekoma thekoma merged commit 126d4c0 into main Mar 18, 2026
2 checks passed
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.

1 participant