Socket
Socket
Sign inDemoInstall

parserss

Package Overview
Dependencies
40
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    parserss

Small RSS Parser


Version published
Weekly downloads
63
increased by117.24%
Maintainers
1
Install size
3.25 MB
Created
Weekly downloads
 

Readme

Source

parserss Build Status

Small RSS parser for mere convenience, using feedparser and request.

It should work for Atom as well.

Returns a very convinient JSON with the meta field with all the data from the feed and an array on the field articles with all the articles.

Usage

var rss = require('parserss');

rss('http://domain.tld/file.xml', 10, function (err, res) {
  console.log(err);
  console.log(res);
});

API

  • rss
    • url -- URL of the feed
    • max_number - max number of articles, defaults to 10. 0 would mean as much as possible.
    • callback - First parameter is Error, second is the resultant JSON file.

Author

© 2014, Jose Luis Rivas <me@ghostbar.co>

License

The files are licensed under the MIT terms.

Keywords

FAQs

Last updated on 18 Jun 2014

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