Ninety Percent Muffin

    feed-discover

    2.0.0 • Public • Published

    feed-discover

    feed-discover is a module for automatic RSS/Atom feed discovery. It exposes a transform stream that reads in HTML and writes out feed URLs.

    Build status

    Install

    $ npm install [-g] feed-discover

    Usage

    cli

    $ feed-discover http://some-site.com

    module

    var request = require('hyperquest')
    var discover = require('feed-discover')
     
    var url = 'http://some-site.com'
     
    request(url)
      .pipe(discover(url))
      .on('data', function(feed) {
        // http://some-site.com/rss.xml
      })

    API

    feed-discover(
      
      url (string):
        the address used to resolve absolute paths.
        eg. /path/to/feed -> http://some-site.com/path/to/feed
    
    )
    

    License

    MIT

    Install

    npm i feed-discover

    DownloadsWeekly Downloads

    4

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • michaelrhodes