Skip to content

CDATA filtering options, new item addition functions, unit tests, bug fixes#38

Open
rv-kip wants to merge 28 commits into
dylang:masterfrom
rv-kip:master
Open

CDATA filtering options, new item addition functions, unit tests, bug fixes#38
rv-kip wants to merge 28 commits into
dylang:masterfrom
rv-kip:master

Conversation

@rv-kip

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

Copy link
Copy Markdown
  • 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.

Comment thread package.json Outdated

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Owner

Choose a reason for hiding this comment

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

see above :)

@rv-kip

rv-kip commented Dec 21, 2014

Copy link
Copy Markdown
Author

This is ready for review.

@rv-kip

rv-kip commented Jan 12, 2015

Copy link
Copy Markdown
Author

(bump)

@rv-kip

rv-kip commented Jan 20, 2015

Copy link
Copy Markdown
Author

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

@dylang

dylang commented Jan 21, 2015

Copy link
Copy Markdown
Owner

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

@rv-kip

rv-kip commented Jan 21, 2015

Copy link
Copy Markdown
Author

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

@dylang

dylang commented Feb 8, 2015

Copy link
Copy Markdown
Owner

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

rv-kip commented Feb 9, 2015

Copy link
Copy Markdown
Author

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

@rv-kip

rv-kip commented Feb 9, 2015

Copy link
Copy Markdown
Author

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

Kip Gebhardt and others added 2 commits February 10, 2015 14:25
@rv-kip

rv-kip commented Feb 12, 2015

Copy link
Copy Markdown
Author

@dylang, my latest commit changes the names of the extra functions and adds a unit test for removeAllItems() Ready for review.

@rv-kip

rv-kip commented Mar 16, 2015

Copy link
Copy Markdown
Author

@dylang, How are we going on this?

@rv-kip

rv-kip commented Apr 27, 2015

Copy link
Copy Markdown
Author

@dylang... Any progress on this?

@rv-kip

rv-kip commented May 29, 2015

Copy link
Copy Markdown
Author

@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 rv-kip closed this Feb 27, 2018
@rv-kip rv-kip reopened this Feb 27, 2018
@rv-kip

rv-kip commented Feb 27, 2018

Copy link
Copy Markdown
Author

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

rv-kip commented Jun 27, 2018

Copy link
Copy Markdown
Author

close/open to trigger Travis

@rv-kip rv-kip closed this Jun 27, 2018
@rv-kip rv-kip reopened this Jun 27, 2018
@rajinikumar

Copy link
Copy Markdown

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

@rajinikumar

Copy link
Copy Markdown

@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
@mattymess

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants