Socket
Socket
Sign inDemoInstall

@11ty/eleventy-plugin-rss

Package Overview
Dependencies
18
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.2.0

src/dateRfc822.js

3

.eleventy.js
const pkg = require("./package.json");
const dateRfc3339 = require("./src/dateRfc3339");
const dateRfc822 = require("./src/dateRfc822");
const absoluteUrl = require("./src/absoluteUrl");

@@ -35,2 +36,3 @@ const convertHtmlToAbsoluteUrls = require("./src/htmlToAbsoluteUrls");

eleventyConfig.addNunjucksFilter("dateToRfc3339", dateRfc3339);
eleventyConfig.addNunjucksFilter("dateToRfc822", dateRfc822);

@@ -47,4 +49,5 @@ // Deprecated, these names are incorrect! Issue #8

module.exports.dateToRfc3339 = dateRfc3339;
module.exports.dateToRfc822 = dateRfc822;
module.exports.getNewestCollectionItemDate = getNewestCollectionItemDate;
module.exports.absoluteUrl = absoluteUrl;
module.exports.convertHtmlToAbsoluteUrls = convertHtmlToAbsoluteUrls;

11

package.json
{
"name": "@11ty/eleventy-plugin-rss",
"version": "1.1.2",
"version": "1.2.0",
"description": "A pack of Eleventy plugins for generating an RSS feed using the Nunjucks templating engine.",

@@ -11,3 +11,4 @@ "publishConfig": {

"test": "npx ava",
"sample": "cd sample && npx @11ty/eleventy --config=config-sample.js"
"sample": "cd sample && npx @11ty/eleventy --config=config-sample.js",
"clean": "rm -rf sample/_site"
},

@@ -40,9 +41,9 @@ "repository": {

"devDependencies": {
"ava": "^3.15.0"
"ava": "^4.3.0"
},
"dependencies": {
"debug": "^4.3.1",
"posthtml": "^0.15.1",
"debug": "^4.3.4",
"posthtml": "^0.16.6",
"posthtml-urls": "1.0.0"
}
}

@@ -1,10 +0,9 @@

<p align="center"><img src="https://www.11ty.dev/img/logo-github.png" alt="eleventy Logo"></p>
<p align="center"><img src="https://www.11ty.dev/img/logo-github.svg" width="200" height="200" alt="11ty Logo"></p>
# eleventy-plugin-rss
# eleventy-plugin-rss 🕚⚡️🎈🐀
A pack of [Eleventy](https://github.com/11ty/eleventy) filters for generating Atom and JSON feeds using the Nunjucks templating engine.
A pack of [Eleventy](https://github.com/11ty/eleventy) filters for generating Atom, JSON and RSS feeds using the Nunjucks templating engine.
_Note: the plugin is called RSS but does not technically include an example of an RSS feed. Generally feed readers that support RSS also support Atom. If you’d like to contribute an example, a pull request would be welcome!_
See `sample/feed.njk` for an example Atom feed template or `sample/feed.json` for an example JSON feed template.
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.

@@ -11,0 +10,0 @@ ## [The full `eleventy-plugin-rss` documentation is on 11ty.dev](https://www.11ty.dev/docs/plugins/rss/).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc