find-rss

find rss feeds

npm install find-rss
1 downloads in the last week
46 downloads in the last month

node-find-rss Build Status

NPM

find rss feeds in url

wrapper of htmlparser2

install

using npm:

npm install find-rss

*or using package.json:

"find-rss": "*"

usage

# Coffeescript
finder = require 'find-rss'
finder "http://www.apple.com/",(error,candidates)->
  console.log error if error
  console.log candidates

  # =>
  # [ { sitename: 'Apple'
        rel: 'alternate',
        type: 'application/rss+xml',
        title: 'RSS',
        href: 'http://images.apple.com/main/rss/hotnews/hotnews.rss',
        favicon: 'http://www.apple.com/favicon.ico',
        url: 'http://images.apple.com/main/rss/hotnews/hotnews.rss' } ]

dependency

node-find-rss uses node-icu-charset-detector,and require livicu-dev or icu4c.

# ubuntu and debian-based systems
apt-get install libicu-dev
# os x
port install icu +devel                 # with macports
brew install icu4c && brew link icu4c   # homebrew
npm loves you