@ryanccn/eleventy-plugin-rss

1.2.2 • Public • Published

@ryanccn/eleventy-plugin-rss

A pack of Eleventy filters for generating Atom, JSON and RSS feeds using the Nunjucks templating engine.

This is a fork of the official plugin, which doesn't seem to be particularly maintained.

See sample/feed.njk for an example Atom feed template, sample/feed.json for an example JSON feed template, or sample/feed-rss.njk for an example RSS feed template.

Installation

npm install @ryanccn/eleventy-plugin-rss

Filters

  • dateRfc3339: RFC 3339 dates that Atom uses
  • dateRfc822: RFC 822 dates
  • getNewestCollectionItemDate: Get the newest date of an item in a collection
  • absoluteUrl: Make a relative URL absolute
  • convertHtmlToAbsoluteUrls: Convert relative links in HTML to absolute URLs

Package Sidebar

Install

npm i @ryanccn/eleventy-plugin-rss

Weekly Downloads

16

Version

1.2.2

License

MIT

Unpacked Size

9.97 kB

Total Files

12

Last publish

Collaborators

  • ryanccn