Socket
Socket
Sign inDemoInstall

gatsby-source-anchor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-anchor

Source plugin to fetch podcast episodes from Anchor into Gatsby


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-source-anchor

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 ;)

Table of content

Basic usage

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

OptionsTypeDefaultDescription
rssstring[required] Your podcasts' RSS URL, as given by Anchor

TODO

  • Maybe save images into Gatsby?

License

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!

Keywords

FAQs

Package last updated on 11 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc