Skip to content

ryanccn/eleventy-plugin-rss

 
 

Repository files navigation

@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

About

A pack of Eleventy plugins for generating an RSS feed.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING.md

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • JavaScript 100.0%