parsse

Get the RSS feed URL from any given website.

npm install parsse
8 downloads in the last week
33 downloads in the last month

node-parsse Build Status

Get the RSS feed URL from any given website.

Installation

$ npm install parsse

Example

var parsse = require('parsse')

parsse('http://www.bbc.co.uk/news/', function (err, url) {
  // Outputs http://feeds.bbci.co.uk/news/rss.xml
  console.log(url)
})

Usage

p(url, [callback])

Returns the RSS feed URL of url. callback called with callback(err, rssUrl).

If no callback is provided, parsse will run synchronously, expecting a body passed as a property of the url object.

Licence

Licenced under the New BSD License

npm loves you