-
Notifications
You must be signed in to change notification settings - Fork 219
break the tests #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
break the tests #305
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,6 @@ fields.feed = [ | |
| ['dc:source', 'source'], | ||
| ['dc:title', 'title'], | ||
| ['dc:type', 'type'], | ||
| 'title', | ||
| 'description', | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing
Concretely: There's a second, subtler effect: Please restore |
||
| 'author', | ||
| 'pubDate', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing
'title'fromfields.feeddrops feed-level title parsing for all RSS/RDF feeds.buildRSS()populates feed fields solely throughutils.copyFromXML(channel, feed, feedFields)(lib/parser.js:227), so without this entry<channel><title>is never copied tofeed.title. The surviving['dc:title', 'title']above reads a different element (dc:title) and does not cover feeds that use a plain<title>— e.g.test/input/reddit.rss.Atom feeds still work because
parseAtomFeed()assignsfeed.titledirectly (lib/parser.js:143-147), which makes this failure silent and asymmetric across formats. 23 RSS/RDF golden files intest/output/assert a feed-leveltitleand will fail.Please restore this entry.