Socket
Socket
Sign inDemoInstall

find-rss

Package Overview
Dependencies
72
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    find-rss

Find RSS/ATOM feed by HTML/URL


Version published
Weekly downloads
55
increased by161.9%
Maintainers
1
Install size
8.03 MB
Created
Weekly downloads
 

Readme

Source

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)

Keywords

FAQs

Last updated on 23 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc