PHP Classes

Simple PHP Podcast Generator: Generate podcast RSS from audio and video files

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 82 All time: 10,078 This week: 82Up
Version License PHP version Categories
simple-podcast-gener 1.0GNU General Publi...5XML, Content management, Web services, P...
Description 

Author

This package can generate podcast RSS from audio and video files.

It can read a configuration file that defines the podcast's details like the podcast's name, description, and base URL.

The package can also read the list of podcast episodes by checking a directory containing the episode audio or video files and text files that define the episode descriptions.

Then the package can process the podcast definition files to generate XML for the podcast RSS feed.

Innovation Award
PHP Programming Innovation award winner
August 2022
Winner
Podcasts are a way to serve lists of exciting content in the form of audio or video recorded by the podcast authors to share with the community interested in specific topics.

Publishing podcasts requires the generation of XML documents that describe the podcast episode list in RSS format.

This package provides a solution to automate the generation of a podcast RSS XML feed just by editing a few podcast files that define the podcast audio and video and the respective text descriptions.

Manuel Lemos
Picture of Pierre-Henry Soria
  Performance   Level  
Name: Pierre-Henry Soria <contact>
Classes: 49 packages by
Country: United Kingdom
Age: 31
All time rank: 37316 in United Kingdom
Week rank: 2 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 18x

Winner: 3x

Example

<?php
define
('PUBLIC_ACCESS', true);

require
dirname(__DIR__, 1) . '/vendor/autoload.php';
require
__DIR__ . '/constants.php';

use
PierreHenry\PodcastGenerator\Podcast\Feed\Generator;

$podcastGenerator = new Generator(__DIR__ . '/audio-files', ROOT_URL);
echo
$podcastGenerator->outputFeed();


Details

Podcast RSS Feed Generator

A very simple way to host your podcast files and generate the RSS Podcast feed ?

Simple Podcast Generator

:book: Contents

:mag_right: Summary

Host your podcast files and generate the RSS Podcast feed

A simple PHP script that reads your MP3/M4A audio files to generate an elegant RSS2 feed to be then published to podcast platforms.

:hammer: Requirements

:building_construction: Installation

  1. Place your podcast audio files (mp3, m4a, ...) in `web/audio-files` directory.
  2. Add a txt file with the same name as your audio file but with `.meta.txt` as extension (without the `mp3` or `ma4` audio extension). Inside, add a description of your audio podcast.
  3. Edit the `config.ini` file with your favorite text editor: 1. Change `url` to your URL of where it will be installed. 2. Change `podcast.name` to the name of your podcast. 3. Update `podcast.description` to a generic description of your podcast.
  4. Load the page and specify the generated RSS feed to the different podcast platforms ?

:thought_balloon: Usage

Ideal for publishing easily and freely your podcast over the different music platforms (iTunes,Google Podcasts, Spotify, Amazon Music, ...).

:cook: Author

I'm Pierre-Henry Soria. A passionate, zen &amp; dedicated software engineer ?

You can keep in touch with me at: hi@ph7.me ?

[![pH-7][github-image]](https://github.com/pH-7)

Pierre-Henry Soria

:tv: Video

Watch the video

? Click here to watch on YouTube

:page_with_curl: License

Podcast RSS Feed Generator is distributed under MIT license ? Enjoy! ??

<!-- GitHub's Markdown reference links -->

[github-image]: https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white

<!-- Was generated by README Generator CLI on 2021-12-24 https://github.com/pH-7/github-readme-generator-cli -->


  Files folder image Files (19)  
File Role Description
Files folder image.github (1 directory)
Files folder imagesrc (1 file, 2 directories)
Files folder imagetests (1 directory)
Files folder imageweb (4 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Image file podcast-feed-generator.png Icon Icon image
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (19)  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files (19)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file test.yml Data Auxiliary data

  Files folder image Files (19)  /  src  
File Role Description
Files folder imagePodcast (1 file, 1 directory)
Files folder imageXml (1 directory)
  Accessible without login Plain text file .htaccess Data Auxiliary data

  Files folder image Files (19)  /  src  /  Podcast  
File Role Description
Files folder imageFeed (1 file)
  Plain text file File.php Class Class source

  Files folder image Files (19)  /  src  /  Podcast  /  Feed  
File Role Description
  Plain text file Generator.php Class Class source

  Files folder image Files (19)  /  src  /  Xml  
File Role Description
Files folder imageRss (1 file)

  Files folder image Files (19)  /  src  /  Xml  /  Rss  
File Role Description
  Plain text file Feed.php Class Class source

  Files folder image Files (19)  /  tests  
File Role Description
Files folder imageunit (1 file, 1 directory)

  Files folder image Files (19)  /  tests  /  unit  
File Role Description
Files folder imagePodcast (1 file, 2 directories)
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script

  Files folder image Files (19)  /  tests  /  unit  /  Podcast  
File Role Description
Files folder imageFeed (1 file)
Files folder imageXml (1 directory)
  Plain text file FileTest.php Class Class source

  Files folder image Files (19)  /  tests  /  unit  /  Podcast  /  Feed  
File Role Description
  Plain text file GeneratorTest.php Class Class source

  Files folder image Files (19)  /  tests  /  unit  /  Podcast  /  Xml  
File Role Description
Files folder imageRss (1 file)

  Files folder image Files (19)  /  tests  /  unit  /  Podcast  /  Xml  /  Rss  
File Role Description
  Plain text file FeedTest.php Class Class source

  Files folder image Files (19)  /  web  
File Role Description
Files folder imageaudio-files (1 file)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file config.ini Data Auxiliary data
  Accessible without login Plain text file constants.php Conf. Configuration script
  Accessible without login Plain text file index.php Example Example script

  Files folder image Files (19)  /  web  /  audio-files  
File Role Description
  Accessible without login Plain text file my-awesome-interview-with-peter.meta.txt Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:82
This week:0
All time:10,078
This week:82Up