fr

find-rss

Find RSS/ATOM feed by HTML/URL

Showing:

Popularity

Downloads/wk

551

GitHub Stars

17

Maintenance

Last Commit

5yrs ago

Contributors

5

Package

Dependencies

6

Size (min+gzip)

535.0KB

License

BSD-2-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

node-find-rss Build Status

NPM

A module for finding RSS/ATOM feeds, from HTML or URL.

##install

$ npm install find-rss

Simple To Use: HTTP Address

# CoffeeScript
finder  = require 'find-rss'
finder "http://nikezono.com"
.then (candidates)->
  console.log candidates

  # =>
  # [ { sitename: 'nikezono.com'
      rel: 'alternate',
      type: 'application/atom+xml',
      title: 'RSS',
      href: '/atom.xml',
      favicon: 'http://nikezono.com/favicon.ico',
      url: 'http://nikezono.com/atom.xml' } ]

# CoffeeScript(callback)

finder  = require 'find-rss'
finder "http://nikezono.com",(error,response,body)->
  return console.error error if error
  console.log candidates

  # =>
  # [ { sitename: 'nikezono.com'
      rel: 'alternate',
      type: 'application/atom+xml',
      title: 'RSS',
      href: '/atom.xml',
      favicon: 'http://nikezono.com/favicon.ico',
      url: 'http://nikezono.com/atom.xml' } ]

Options

finder = require 'find-rss'
finder.setOptions
  favicon:true # find favicon url(default:true)
  getDetail:false # get detail property in each atom/rss candidate(default:false)
  maxResponseSize:1000*1000*10 # set http response size limit, e.g. 10MB(dafault:null)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial