
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
combine-rss
Advanced tools
combine rss feeds in url
input multiple rss feeds, then output single xml url
combined rss object can deal like below.
##install
using npm:
npm install combine-rss
*** or using package.json: ***
"combine-rss": "*"
##example # Coffeescript
# rss feed urls
apple = "http://images.apple.com/main/rss/hotnews/hotnews.rss"
livedoor = "http://news.livedoor.com/topics/rss/trend.xml"
# schema
schema =
title: "combiner_rss"
description: "node_rss_combine"
feed_url: "http://nikezono.net/rss.xml"
site_url: "http://nikezono.net"
image_url: "http://nikezono.net/favicon.ico"
author: "nikezono"
# require
combiner = require('combine-rss').combiner()
# add
combiner.add [apple,livedoor]
# delete
combiner.del livedoor, (urls)->
console.log urls
# => ["http://images.apple.com/main/rss/hotnews/hotnews.rss"]
# combine
combiner.combine (rss)->
console.log rss.articles
# => combined articles array
rss.output schema,(xml)->
console.log xml
# => xml string
# combine(async)
combiner.combine()
setTimeout ->
rss = combiner.rss()
rss.output schema,(xml)->
console.log xml
# => xml string
,500
#crawl(alias)
combiner.crawl (rss)->
rss.output schema,(xml)->
console.log xml
# => xml string
console.log rss.articles
# => combined articles array
add feed url to instance property. #####Arguments
String
and Array
type argument is possible.delete feed url in instance property. #####Arguments
String
and Array
type argument is possible.delete all url in instance property.
Return urls Array containing all added urls.
combine all urls to single rss object. #####Arguments
rss
object which combined all added urls.Return RSS objects.
alias to combine()
.
Return rss Object Array sorted by PubDate and descending order. each object is parsed by node-parse-rss and this module is wrapper of feedparser.
output rss xml. #####Arguments
example
title: "combiner_rss"
description: "node_rss_combine"
feed_url: "http://nikezono.net/rss.xml"
site_url: "http://nikezono.net"
image_url: "http://nikezono.net/favicon.ico"
author: "nikezono"
url
and title
properties)link
property, origlink
contains the original link)url
and title
properties)url
and title
properties pointing to the original source for an article; see the RSS Spec for an explanation of this element)url
property and possibly type
and length
properties)article
emissions)FAQs
combine rss feeds
We found that combine-rss 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.