Installations
npm install eleventy-plugin-feedbin-stars
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
18.12.1
NPM Version
8.19.2
Score
49.6
Supply Chain
75.6
Quality
70.3
Maintenance
50
Vulnerability
97.6
License
Releases
Unable to fetch releases
Love this project? Help keep it running — sponsor us today! 🚀
Download Statistics
Total Downloads
1,549
Last Day
1
Last Week
8
Last Month
57
Last Year
205
Bundle Size
159.35 kB
Minified
43.39 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.0.1
Package Id
eleventy-plugin-feedbin-stars@2.0.1
Unpacked Size
5.26 kB
Size
2.07 kB
File Count
5
NPM Version
8.19.2
Node Version
18.12.1
Published on
Jan 11, 2023
Total Downloads
Cumulative downloads
Total Downloads
1,549
Last Day
0%
1
Compared to previous day
Last Week
-50%
8
Compared to previous week
Last Month
159.1%
57
Compared to previous month
Last Year
-20.5%
205
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Peer Dependencies
1
Dev Dependencies
3
eleventy-plugin-feedbin-stars
Eleventy plugin for getting starred items from Feedbin into your Eleventy site.
Install
yarn add eleventy-plugin-feedbin-stars
or with npm
npm install eleventy-plugin-feedbin-stars
How to use
In your .eleventy.js
const { default: feedbinStars } = require("eleventy-plugin-feedbin-stars");
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(feedbinStars, {
feed_id: "5Euw2uq5T9oUL7tUbs0_2A",
cache_duration: "4h",
});
};
Options
feed_id
Type: string
Required: true
In Feedbin general settings you'll need to turn on "Starred article feed", you'll then get a feed URL. It will look something like https://feedbin.com/starred/5Euw2uq5T9oUL7tUbs0_2A.xml, grab the string between "https://feedbin.com/starred/" and ".xml". In this case the feed_id is 5Euw2uq5T9oUL7tUbs0_2A
.
cache_duration
Type: string
Required: false
Defaul: "4h"
Uses eleventy-fetch under the hood, check the documentation for duration options.
How to use
The plugin will create a feedbinStars collection. You are then able to loop over the items in your template:
1<ul> 2 {% for item in collections.feedbinStars %} 3 <li> 4 <article> 5 <h2><a href="{{ item.link }}" rel="noopener">{{ item.title }}</a></h2> 6 <p>{{ item.link }}</p> 7 </article> 8 </li> 9 {% endfor %} 10</ul>

No vulnerabilities found.

No security vulnerabilities found.