Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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
The npm package combine-rss receives a total of 0 weekly downloads. As such, combine-rss popularity was classified as not popular.
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.