GitHub - scripting/reallysimple: A Node package that reads RSS, Atom and RDF feeds and calls back with a simple, consistent JavaScript object.

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.

tinyFeedReader

tinyFeedReader is a useful Node app that builds on the reallySimple package.

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.