@neoblog/plugin-rss
v0.3.0
Published
NeoBlog plugin to generate RSS feed
Downloads
7
Readme
neoblog-plugin-rss
Add RSS feed support, powered by node-rss
.
Usage
see config.js.
Plugin options
new PluginRSS(options: IPluginOptions);
interface IPluginOptions {
limit: number
route: string
feedOptions?: NodeRSS.FeedOptions
itemOptions?: NodeRSS.ItemOptions
}
limit
Max articles in RSS feed, default to 10.
route
Route to RSS feed, default to '/rss'
.
feedOptions
See NodeRSS.FeedOptions for details.
But some fields are required:
site_url
URL to the site that the feed is for.
description
Though not required, but it's recommended to have a description.
itemOptions
See NodeRSS.ItemOptions for details.
Useful fields:
author
Name of the item's creator.