Skip to content

A Node package that reads RSS, Atom and RDF feeds and calls back with a simple, consistent JavaScript object.

License

Notifications You must be signed in to change notification settings

scripting/reallysimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Node package that reads RSS, Atom and RDF feeds and calls back with a simple, consistent JavaScript object.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published