-
Notifications
You must be signed in to change notification settings - Fork 131
CDATA filtering options, new item addition functions, unit tests, bug fixes #38
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
Conversation
...concat_items and replace_items. Associated unit tests
.... Adding test for XML escaping when no_cdata_fields is used
... by item() resulting in inconsistencies like missing category field. Added test for this issue
...ply-for-new-pr Conflicts: lib/index.js test/rss.test.js
package.json
Outdated
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.
mime-types should be good enough
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.
When I clone (or rm -rf node_modules), npm i, and npm test, I get an error for missing mime module unless mime is in package.json
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.
see above :)
rv-kip
commented
Dec 21, 2014
This is ready for review.
rv-kip
commented
Jan 12, 2015
(bump)
rv-kip
commented
Jan 20, 2015
@dylang, Is there any more info, documentation, or testing you need from me for this PR?
dylang
commented
Jan 21, 2015
Sorry for taking so long with this. I'll try to get to it later this week.
rv-kip
commented
Jan 21, 2015
Not a problem. Just wanted to make sure you weren't waiting for something from me.
dylang
commented
Feb 8, 2015
The cdata work looks good. I don't like the generic output function name, but at least it's short.
The replace_items and concat_items feel like they should be in a separate PR. Since you've already done the work here there's no need to create a separate PR.
I think a better API would be something like feed.removeItems() and feed.addItems(<array of items>). What do you think?
rv-kip
commented
Feb 9, 2015
@dylang Your function rename suggestions are fine. Better to change them now than have a legacy support issue.
rv-kip
commented
Feb 9, 2015
To clarify, should feed.removeItems() remove all existing items?
Updating function names, docs, and unit tests as per discussion
rv-kip
commented
Feb 12, 2015
@dylang, my latest commit changes the names of the extra functions and adds a unit test for removeAllItems() Ready for review.
rv-kip
commented
Mar 16, 2015
@dylang, How are we going on this?
rv-kip
commented
Apr 27, 2015
@dylang... Any progress on this?
rv-kip
commented
May 29, 2015
@dylang, I've released the rss-braider module that depends on the changes in this PR. I'd prefer to be dependent on your repo and not my fork. Let me know if there's anything I can do to help with merging this PR. 😄
https://www.npmjs.com/package/rss-braider
rv-kip
commented
Feb 27, 2018
It seems like the Travis failure is related to npm3. This env has an npm config of
...
"before_install": "npm -g i npm@3",
...
rv-kip
commented
Jun 27, 2018
close/open to trigger Travis
rajinikumar
commented
Jul 16, 2018
rajinikumar
commented
Jul 16, 2018
mattymess
commented
Oct 10, 2019
Any movement on this? Would love to see it get merged
examples/simple.jsThis PR supercedes #37, which has some relevant discussion.
This PR is similar to existing PR #28, but allows for finer control over what fields can be skipped for CDATA wrapping.