1.6.4 • Published 7 years ago

find-rss v1.6.4

Weekly downloads
2,048
License
BSD
Repository
github
Last release
7 years ago

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)
1.6.4

7 years ago

1.6.3

7 years ago

1.6.2

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.12

8 years ago

1.5.11

9 years ago

1.5.10

9 years ago

1.5.9

9 years ago

1.5.8

9 years ago

1.5.7

10 years ago

1.5.6

10 years ago

1.5.5

10 years ago

1.5.4

10 years ago

1.5.3

10 years ago

1.5.2

10 years ago

1.5.1

10 years ago

1.5.0

10 years ago

1.3.7

10 years ago

1.3.6

10 years ago

1.3.5

10 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

11 years ago

1.3.1

11 years ago

1.3.0

11 years ago

1.2.0

11 years ago

1.1.0

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago