Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
gatsby-source-anchor
Advanced tools
Source plugin to fetch podcast episodes from Anchor into Gatsby
Use your Anchor.fm's RSS feed to download your podcast info into Gatsby's GraphQL data layer!
⚠ Please note: This plugin is super simple and you can probably achieve the same thing with gatsby-source-rss
, but I figured it wouldn't hurt to publish a new package considering I had already formatted everything nicely for you ;)
yarn add gatsby-source-anchor
# or
npm i gatsby-source-anchor --save
// in your gatsby-config.js
module.exports = {
// ...
plugins: [
{
resolve: 'gatsby-source-anchor',
options: {
rss: 'https://anchor.fm/s/26das9ce/podcast/rss',
},
},
],
// ...
};
This plugin generates nodes of types anchorPodcast
and anchorEpisodes
. Go through http://localhost:8000/___graphql after running gatsby develop
to understand the created data and create a new query and checking available collections and fields by typing CTRL + SPACE
.
Options | Type | Default | Description |
---|---|---|---|
rss | string | [required] Your podcasts' RSS URL, as given by Anchor |
I'm not very literate on licensing, so I just went with MIT, if you have any considerations just let me know! Oh, and, of course, feel free to contribute to this plugin, even bug reports are welcome!
FAQs
Source plugin to fetch podcast episodes from Anchor into Gatsby
The npm package gatsby-source-anchor receives a total of 1 weekly downloads. As such, gatsby-source-anchor popularity was classified as not popular.
We found that gatsby-source-anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.