14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
|
|
module.exports = (function () {
|
|
|
|
return function FormatRssPlugin() {
|
|
|
|
this.configPlugin = function (ctx) {
|
|
ctx.key = 'formatRSS';
|
|
ctx.description = 'Export tentity list/read api in rss format.';
|
|
ctx.localDir = __dirname;
|
|
ctx.localConfigTemplate = 'format-rss.json';
|
|
};
|
|
};
|
|
})();
|