1.6.4 • Published 8 years ago
find-rss v1.6.4
node-find-rss 
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
8 years ago
1.6.3
8 years ago
1.6.2
8 years ago
1.6.1
8 years ago
1.6.0
8 years ago
1.5.12
9 years ago
1.5.11
10 years ago
1.5.10
10 years ago
1.5.9
10 years ago
1.5.8
10 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
11 years ago
1.3.3
11 years ago
1.3.2
12 years ago
1.3.1
12 years ago
1.3.0
12 years ago
1.2.0
12 years ago
1.1.0
12 years ago
1.0.2
12 years ago
1.0.1
12 years ago
1.0.0
12 years ago
0.2.1
12 years ago
0.2.0
12 years ago
0.1.0
12 years ago