Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
rssparser
Advanced tools
Readme
rssparser is a RSS/ATOM feed parser that returns the requested feed urls in a simple json object
Like all node.js modules, just use npm!
npm install rssparser
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);
});
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 for rssparser can be run using the command:
npm test
Make sure that you machine has an internet connection before running the tests.
Here is the reference for other options that can be used along with the default options
FAQs
rssparser is an all purpose RSS/ATOM feed parser that parses feeds into a JSON format.
The npm package rssparser receives a total of 4 weekly downloads. As such, rssparser popularity was classified as not popular.
We found that rssparser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.