@11ty/eleventy-plugin-rss
Advanced tools
Comparing version 1.1.2 to 1.2.0
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; |
{ | ||
"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/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141
8709
11
35
+ Addedentities@3.0.1(transitive)
+ Addedhtmlparser2@7.2.0(transitive)
+ Addedis-json@2.0.1(transitive)
+ Addedposthtml@0.16.6(transitive)
+ Addedposthtml-parser@0.11.0(transitive)
+ Addedposthtml-render@3.0.0(transitive)
- Removedhtmlparser2@6.1.0(transitive)
- Removedposthtml@0.15.2(transitive)
- Removedposthtml-parser@0.7.2(transitive)
- Removedposthtml-render@1.4.0(transitive)
Updateddebug@^4.3.4
Updatedposthtml@^0.16.6