
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
apostrophe-global-rss-feed
Advanced tools
Adds a route to your site that performs an apos.get and returns an XML feed of the results
You do, Apostrophe natively creates RSS feeds out of snippet'y thing and even lets you filter them. This module exposes a route that makes a generic apos.get call on the aposPages collection that allows the results of the feed to be a mix of content types, which Apostrophe doesn't do by default.
var site = require('apostrophe-site')({
modules: {
'apostrophe-global-rss-feed': {
description: 'foo' // optional description attached to all feeds
route: '/feed/' // optional route where the feeds like, default is /apos-global-rss-feed/
sort: { start: -1, publishedAt: -1, createdAt: -1 } // optional, mongo sort object, default { start: -1, publishedAt: -1, createdAt: -1 }
limit: 50 // optional, integer limit, default 100
},
}
})
The module has a whitelist of resources it will run an apos.get against, otherwise it will return a 405 Method Not Allowed
. The current array of allowed resources are ['tag', 'id', 'slug']
. All resources need an identifier for search against, otherwise 400 Bad Request is thrown
.
A properly formatted request looks like /apos-global-rss-feed/tag/fashion-design
FAQs
Adds a route to your site that performs an apos.get and returns an XML feed of the results
We found that apostrophe-global-rss-feed 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.