Repository navigation
fix(rss): preserve complete feed content and resolve relative link - #2432
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Title normalization now incorrectly collapses significant intra-line whitespace.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Improves RSS/Atom conversion fidelity and URL handling.
Changes:
- Preserves complete mixed XML, CDATA, HTML, and XHTML content.
- Restricts metadata lookup to direct children.
- Resolves relative links using source URLs and
xml:base.
File summaries
| File | Description |
|---|---|
_rss_converter.py |
Implements content extraction and URL resolution. |
test_rss_converter.py |
Tests bodies, links, namespaces, and fallbacks. |
test_rss_titles.py |
Tests complete and typed titles. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RSS and Atom conversion could truncate values at CDATA boundaries or drop nested content. Reading only the first child
could discard an entire article body when its CDATA section followed indentation.
This change reads complete field values in document order and interprets them according to their content type:
content.
For example, <title>nested trailing</title> now produces the complete title nested trailing.