1.0.0 • Published 1 year ago
@codingcatdev/sanity-plugin-podcast-rss v1.0.0
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.
1.0.0
1 year ago