/hexo-generator-feed

Feed generator for Hexo.

Primary LanguageJavaScriptMIT LicenseMIT

hexo-generator-feed

Build Status NPM version Coverage Status

Generate Atom 1.0 or RSS 2.0 feed.

Install

$ npm install hexo-generator-feed --save
  • Hexo 3: 1.x
  • Hexo 2: 0.x

Options

You can configure this plugin in _config.yml.

feed:
  type: atom
  path: atom.xml
  limit: 20
  hub:
  • type - Feed type. (atom/rss2)
  • path - Feed path. (Default: atom.xml/rss2.xml)
  • limit - Maximum number of posts in the feed (Use 0 or false to show all posts)
  • hub - URL of the PubSubHubbub hubs (Leave it empty if you don't use it)