vuepress-plugin-rss-feed

1.0.2 • Public • Published

vuepress-plugin-rss-feed

Generate rss.xml file with content:encoded for rss client pretty preview. Reference rss.xml for example.

Usage

npm i vuepress-plugin-rss-feed -D

Add plugin to your .vuepress/config.js

module.exports = {
  plugins: [
    // other plugins
    [
      'rss-feed',
      {
        username: 'Bougie',
        hostname: 'https://www.bougieblog.cn',
        selector: '.content__post', // extract content to content:encoded
        count: 10,
        filter: (page) => /^blog/.test(page.relativePath),
      },
    ],
  ],
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vuepress-plugin-rss-feed

Weekly Downloads

10

Version

1.0.2

License

MIT

Unpacked Size

4.79 kB

Total Files

5

Last publish

Collaborators

  • bougie