get-rss-atom
Advanced tools
Comparing version 1.0.2-a to 1.0.2-b
{ | ||
"name": "get-rss-atom", | ||
"version": "1.0.2a", | ||
"version": "1.0.2b", | ||
"description": "Reed feed content from URL and return Array with Objects", | ||
@@ -5,0 +5,0 @@ "main": "get.js", |
Simple RSS/ATOM feed parser. | ||
WIP: this is an attempt to create a new generic library since other libraries have failed, at least for me. | ||
Install: | ||
``` | ||
npm init | ||
npm install --save get-rss-atom | ||
``` | ||
Usage: | ||
`node get.js -host www.geenstijl.nl -port 443 -path /feeds/recent.atom` | ||
For example, create `test.js` | ||
or | ||
``` | ||
test = require('get-rss-son/get'); | ||
`node get.js -host www.at5.nl -path /feeds/at5/nieuws/V100/nieuws` | ||
let | ||
count = 0; | ||
hostFeed = ''; | ||
if (process.argv.length > 1) { | ||
hostFeed = process.argv[2] | ||
} | ||
test.getRssAtom(hostFeed, content => content.forEach((item) => { | ||
count++; | ||
console.log(`\n--${count}-- ${item.title}\n${item.description}\n${item.href}\n`) | ||
})); | ||
``` | ||
Run: | ||
``` | ||
node test.js https://rss.fok.nl/feeds/nieuws | ||
``` |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4114
36