parfaitementweb/statamic-podcast-publisher

There is no license information available for the latest version (1.0.3) of this package.

Statamic addon for publishing your podcast

1.0.3 2021-05-16 15:11 UTC

This package is auto-updated.

Last update: 2024-05-16 21:43:04 UTC


README

Statamic 3.0+

The complete suite for managing and publishing your own podcast RSS feed 🤘

Features

  • Automatic XML Podcast feed, ready to be submitted.
    ✨ Implementation follows Apple Podcast guildines.
  • Complete Podcast information customization.
  • Custom episodes management with media support.
  • Automatic page for every published episode.
  • Everything using built-in Statamic Blueprints, Tags, Collection & Globals.
  • Ready to be used as is ...
  • ... but easily customizable to fit your possible custom needs.

Getting Started

We have made things easy for you start. Here is a quick summary of all things you need to know.

  1. Install the addon
    Simply run composer require parfaitementweb/statamic-podcast-publisher
    You also can follow the official Statamic help guide

  2. Publish the assets Using the following command: php artisan vendor:publish --tag=statamic-podcast-publisher

  3. Set the APP_URL value accordingly in your .env file. This value is used to generate absolute path in your XML feed.

  4. Edit your podcast information.
    Choose your name, description, language and a beautiful image.
    Podcast settings is a customizable Statamic Global set.

  5. Add an episode.
    Choose the audio file, add show notes and select the publishing date.
    Episodes are stored in a customizable Statamic Collection within it's dedicated blueprint.

  6. Submit your feed.
    Submit your feed URL to any podcast distributors (Apple, Gooogle, Spotify). You have complete control and are not limited here.
    We've automatically created a Feed page and linked to the correct layout.

Before you buy

Can I list the latest episodes on my homepage?

We rely on default Stamatic Collection Tags to manage your episodes. Is easy has calling the folling antlers tag:

{{ collection:episodes }}
    <h1>{{ title }}</h1>
    <p>Episode {{ episode_number }}</p>
    <p><a href="{{ permalink }}">View episode</a></p>
{{ /collection:episodes }}

Can I get the list of every Tag to use?

We use a default Stamatic Blueprint to manage every field and value. Simply open the Episode Blueprint and select the field you cant. You can even customize its handle if you prefer.

Can I have an embeddable audio player ?

You can use any web audio player such as Green Audio Player.
First, include their CDN in a script tag.

https://cdn.jsdelivr.net/gh/greghub/green-audio-player/dist/js/green-audio-player.min.js

Then, add this code in your <head> <script> section of your layout:

GreenAudioPlayer.init({
    selector: '.player',
    stopOthersOnPlay: true
});

And where you want to include the player:

<div class="player">
    <audio>
        <source src="{{ episode_file | get:permalink }}" type="{{ episode_file | mime_content_type }}">
    </audio>
</div>

What does your addon look like?

Statamic Podcast Settings Statamic Podcast Episode Statamic Podcast Episode Second Statamic Podcast Dashboard Statamic Podcast XML

Can I see it running?

I manage my own podcast feed and website using Podcast Publisher.
👉 Have a look at onpourrait.com to see what the end-result could be.

Changelog

V1.0.1
Updating the documentation to reference assets publishing and url generation.

V1.0.0
🚀 Would you like to read the initial commit in another language?