@codingcatdev/sanity-plugin-podcast-rss
v1.0.0
Published
Sanity.io Studio Plugin for consuming a podcast RSS feed
Downloads
5
Maintainers
Readme
sanity-plugin-podcast-rss
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-podcast-rss
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {podcastRssPlugin} from 'sanity-plugin-podcast-rss'
export default defineConfig({
//...
plugins: [
podcastRss({
podcasts: [
{
title: 'CodingCat.dev',
url: 'https://anchor.fm/s/115b203c/podcast/rss',
},
{
title: 'Syntax.fm',
url: 'https://feed.syntax.fm/',
},
],
}),
],
})
Sanity Studio
Preview of selecting the episode:
Select any of the provided Podcast RSS feeds and then search for episodes:
License
MIT © Alex Patterson
Develop & test
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.
Release new version
Run "CI & Release" workflow. Make sure to select the main branch and check "Release new version".
Semantic release will only release on configured branches, so it is safe to run release on any branch.