All Projects â†’ tk120404 â†’ node-rssparser

tk120404 / node-rssparser

Licence: other
🚀RSS/ATOM feed parser that returns the requested feed urls in a simple json object

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-rssparser

FeedReader
C# RSS and ATOM Feed reader library. Supports RSS 0.91, 0.92, 1.0, 2.0 and ATOM. Tested with multiple languages and feeds.
Stars: ✭ 221 (+245.31%)
Mutual labels:  atom-feed
defe
devfeed is a Tech feed Aggregator for Developers & Tech Enthusiasts
Stars: ✭ 28 (-56.25%)
Mutual labels:  atom-feed
temboz
The Temboz RSS/Atom feed reader
Stars: ✭ 59 (-7.81%)
Mutual labels:  atom-feed
tidyRSS
An R package for extracting 'tidy' data frames from RSS, Atom, JSON and geoRSS feeds
Stars: ✭ 62 (-3.12%)
Mutual labels:  atom-feed
PrivateGalleryCreator
Create private extension galleries for Visual Studio
Stars: ✭ 96 (+50%)
Mutual labels:  atom-feed
reader
A Python feed reader library.
Stars: ✭ 290 (+353.13%)
Mutual labels:  atom-feed
Gofeed
Parse RSS, Atom and JSON feeds in Go
Stars: ✭ 1,762 (+2653.13%)
Mutual labels:  atom-feed
Rss Bridge
The RSS feed for websites missing it
Stars: ✭ 4,067 (+6254.69%)
Mutual labels:  atom-feed
hugo-atom-feed
Hugo theme component for ATOM feed custom Output Format
Stars: ✭ 29 (-54.69%)
Mutual labels:  atom-feed
feed-nim
A feed parsing module for Nim
Stars: ✭ 21 (-67.19%)
Mutual labels:  atom-feed
arsse
The clean & modern RSS server that doesn't give you any crap. Mirror of main repository at https://code.mensbeam.com/MensBeam/arsse. Please direct your issues there.
Stars: ✭ 15 (-76.56%)
Mutual labels:  atom-feed
tgto
Telegram to RSS bot.
Stars: ✭ 20 (-68.75%)
Mutual labels:  atom-feed

node-rssparser

rssparser is a RSS/ATOM feed parser that returns the requested feed urls in a simple json object

build statusCode Climate NPM NPM

Installing

Like all node.js modules, just use npm!

npm install rssparser

Usage

Using rss parser is easy, just call:

var parser = require('rssparser');
var options = {};
//rss feeds
parser.parseURL('http://laymansite.com/rss', options, function(err, out){
	console.log(out);
});

Output

The point of rssparser is to try and hide the format of the originally requested feed. Thus RSS and ATOM feeds are returned in a common format. Similar fields (pubDate vs update) will be mapped to the same field in the output.

The 'minimal' output format is:

{
	type:"rss" or "atom"
	title: Title of the feed
	description: description or subtitle
	url: url of the feed
	last_modified: pubDate or update time of the feed
	items:[
		{
			title: Title of article
			summary	: Summary or content of article
			url	: Url of the article
			categories : Categories of the article
			published_at: published date in relative
			time_ago: time in words
			author:	name of the author	
			guid		
			{
				link : link of the article
				isPermaLink	: isPermaLink true or false
			}	
		}...
	]

Tests

Tests for rssparser can be run using the command:

npm test

Make sure that you machine has an internet connection before running the tests.

Option reference

Here is the reference for other options that can be used along with the default options

Change log

  • 0.0.11 package versions updated
  • 0.0.10 Minor changes
  • 0.0.9 Minor changes
  • 0.0.8 Handled encoded request
  • 0.0.7 More check for the attributes like title, summary in atom feed
  • 0.0.6 Minor changes
  • 0.0.5 More check for the attributes like title,summary,link and categories in RSS feed
  • 0.0.4 minor changes
  • 0.0.3 thumbnails added
  • 0.0.2 atom parser changes
  • 0.0.1 initial

License

http://wtfpl.org/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].