This CLI lets you import podcasts into Sanity via their RSS-feed.
npm install -g podcast-to-sanity
Requires node.js version >= 7.6
Install the CLI tool (see Installation above).
Have your Sanity project ID, dataset name and a write token ready.
Run podcast-to-sanity
in your terminal and follow the instructions.
Deploy the podcast starter from sanity.io/create or run sanity install podcast
in your Sanity project folder to view the content in the studio, or copy these schema files if you want to tweak them.
You can also check out the sanity podcast server if you want to try out the RSS-feed from your data.
Usage
$ sanity-to-podcast
Options
--rssFeed, -r Include a rss feed
--projectId, -p Sanity.io project ID
--dataset, -d Sanity.io dataset
--token, -t Sanity token with write access
--keep-file-location, -k Import audio file urls and not files to Sanity
--fromCreate Ensures compability with the podcast starter from sanity.io/create
--help, -h Output this help text
Examples
$ podcast-to-sanity --keep-file-location
# Imports all metadata and content, but not file assets
Podcast RSS feeds aren't very standardized. Your milage may vary.
MIT-licensed. See LICENSE.