GithubHelp home page GithubHelp logo

podcast-to-sanity's Introduction

Podcast to Sanity

This CLI lets you import podcasts into Sanity via their RSS-feed.

Installation

npm install -g podcast-to-sanity

Requirements

Requires node.js version >= 7.6

Usage

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.

Documentation

  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

Caveats

Podcast RSS feeds aren't very standardized. Your milage may vary.

License

MIT-licensed. See LICENSE.

podcast-to-sanity's People

Contributors

kmelve avatar dependabot[bot] avatar

Stargazers

Chris FIor avatar Alp Güneysel avatar Naokazu Terada avatar

Watchers

Espen Hovlandsdal avatar even westvang avatar Rubén Romero avatar Per-Kristian Nordnes avatar Nicholas Klem avatar  avatar CF avatar James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.