Metalsmith plugin to import content from an RSS feed with FeedParser.
npm install --save metalsmith-feedparser
If you are using the command-line version of Metalsmith, you can install via npm, and then add the metalsmith-feedparser
key to your metalsmith.json
file:
{
"plugins": {
"metalsmith-feedparser": {}
}
}
If you are using the JS Api for Metalsmith, then you can require the module and add it to your .use()
directives:
var feedparser = require('metalsmith-feedparser');
metalsmith.use(feedparser());
TODO: Add usage documentation.
MIT