This module depends on https://github.com/danmactough/node-feedparser No need to care about stream, Just use xml feed content
npm install node-feedparser
request = require('request')
parser = require('node-feedparser')
request 'http://www.u148.net/rss/', (error, resp, body)->
parser body, (error, ret)->
console.log(error)
console.log(ret)
parser(xmlContent, [options], [callback])
xmlContent is String rss,feed,rdf xml content
options is Object or Function if Object options.siteTags Array select site tags options itemTags Array select article tags if Function callback
callback is Function callback Error, {site,items}
url
and title
properties)link
property, origlink
contains the original link)guid
field and the isPermalink
attribute is not set to false
, permalink
contains the value of guid
)url
and title
properties)url
and title
properties pointing to the original source for an article; see the RSS Spec for an explanation of this element)url
property and possibly type
and length
properties)article
emissions)