Feed generator for Hexo.
Switch branches/tags
Clone or download
nmaggioni and NoahDragon Support "intro" tag as description (#58)
* Support "intro" tag as post description

Used by Flexy theme (https://github.com/sjaakvandenberg/flexy)

* Reflect supported description tags in README
Latest commit 363d606 Mar 14, 2018



Build Status NPM version Coverage Status

Generate Atom 1.0 or RSS 2.0 feed.


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


In the front-matter of your post, you can optionally add a description, intro or excerpt setting to write a summary for the post. Otherwise the summary will default to the excerpt or the first 140 characters of the post.


You can configure this plugin in _config.yml.

  type: atom
  path: atom.xml
  limit: 20
  content_limit: 140
  content_limit_delim: ' '
  • 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)
  • content - (optional) set to 'true' to include the contents of the entire post in the feed.
  • content_limit - (optional) Default length of post content used in summary. Only used, if content setting is false and no custom post description present.
  • content_limit_delim - (optional) If content_limit is used to shorten post contents, only cut at the last occurrence of this delimiter before reaching the character limit. Not used by default.