reallysimple

0.4.29 • Public • Published

reallysimple

A Node package that reads RSS-like feeds and calls back with a simple, consistent JavaScript object. Easy to use, hides the history.

Code example

I always like to see the code first...

const reallysimple = require ("reallysimple");
const urlFeed = "https://rss.nytimes.com/services/xml/rss/nyt/World.xml";
reallysimple.readFeed (urlFeed, function (err, theFeed) {
	if (err) {
		console.log (err.message);
		}
	else {
		console.log (JSON.stringify (theFeed, undefined, 4));
		}
	});

This is what you see when you run the code.

Why?

I needed a simple routine to call when I wanted to read a feed.

What formats are supported?

RSS, Atom, and RDF.

Demo

Here's a demo app that runs a feed through reallySimple.

What we build on

Thanks to Dan MacTough for the feedparser package.

Comments, questions?

Post comments and questions in the issues section of this repo.

Readme

Keywords

none

Package Sidebar

Install

npm i reallysimple

Weekly Downloads

9

Version

0.4.29

License

MIT

Unpacked Size

17.6 kB

Total Files

5

Last publish

Collaborators

  • davewiner