Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
rv-kip wants to merge 28 commits into dylang:master
base: master
Choose a base branch
Loading
from rv-kip:master

Conversation

@rv-kip
Copy link

@rv-kip rv-kip commented Dec 20, 2014

  • Optional disabling of CDATA wrapping by field name
  • Adding items by concatenation of existing items or by complete replacement of existing items
  • Associated unit tests
  • Runnable example code examples/simple.js
  • Corresponding readme updates.

This 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.

Kip Gebhardt and others added 19 commits December 12, 2014 16:14
...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
Copy link
Owner

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

Copy link
Author

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

Copy link
Owner

Choose a reason for hiding this comment

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

see above :)

Copy link
Author

rv-kip commented Dec 21, 2014

This is ready for review.

Copy link
Author

rv-kip commented Jan 12, 2015

(bump)

Copy link
Author

rv-kip commented Jan 20, 2015

@dylang, Is there any more info, documentation, or testing you need from me for this PR?

Copy link
Owner

dylang commented Jan 21, 2015

Sorry for taking so long with this. I'll try to get to it later this week.

Copy link
Author

rv-kip commented Jan 21, 2015

Not a problem. Just wanted to make sure you weren't waiting for something from me.

Copy link
Owner

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?

Copy link
Author

rv-kip commented Feb 9, 2015

@dylang Your function rename suggestions are fine. Better to change them now than have a legacy support issue.

Copy link
Author

rv-kip commented Feb 9, 2015

To clarify, should feed.removeItems() remove all existing items?

Kip Gebhardt and others added 2 commits February 10, 2015 14:25
Copy link
Author

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.

Copy link
Author

rv-kip commented Mar 16, 2015

@dylang, How are we going on this?

Copy link
Author

rv-kip commented Apr 27, 2015

@dylang... Any progress on this?

Copy link
Author

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

Copy link
Author

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",
...

Copy link
Author

rv-kip commented Jun 27, 2018

close/open to trigger Travis

Copy link

@dylang, Could you please reivew the @rv-kip changes.

Copy link

@dylang Please review @rv-kip changes. because he done the changes few years back.

@dylang dylang requested a review from ErisDS July 16, 2018 14:37
Copy link

Any movement on this? Would love to see it get merged

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

Reviewers

@ErisDS ErisDS Awaiting requested review from ErisDS

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /