danmactough / node-feedparser

Robust RSS, Atom, and RDF feed parsing in Node.js
Other
1.97k stars 192 forks source link

Getting multiple 'readable' events sometimes for a Google News feed #127

Closed beaugunderson closed 9 years ago

beaugunderson commented 10 years ago

Using this URL and piping a request into a FeedParser instance I sometimes get a readable event for each story and sometimes one readable event that has all stories (the latter being how I believe it's supposed to work).

danmactough commented 9 years ago

"How it's supposed to work..." Hmm.

Actually, it can be either. It's the core streams interface that determines how many times readable gets triggered. I don't really have any control over that.

beaugunderson commented 9 years ago

Well, worth noting that both can happen in the docs/examples or extracting it then...


Sent from my phone.

On Nov 7, 2014, at 5:53 PM, Dan MacTough notifications@github.com wrote:

"How it's supposed to work..." Hmm.

Actually, it can be either. It's the core streams interface that determines how many times readable gets triggered. I don't really have any control over that.

— Reply to this email directly or view it on GitHub.

danmactough commented 9 years ago

Documentation could use lots of love from the point-of-view of everyone who's not me. :smile:

Would love some help in the form of a pull request.

sungwoncho commented 9 years ago

It's the core streams interface that determines how many times readable gets triggered.

I am fetching an rss feed with only 1 item, but multiple readable events are being fired. Are you saying this is also an expected behavior?

danmactough commented 9 years ago

Are you saying this is also an expected behavior?

Correct