PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 81 This week: 1All time: 10,067 This week: 560Up
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: 46 packages by
Country: United Kingdom
Age: 33
All time rank: 37916 in United Kingdom
Week rank: 22 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 17x

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  
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  /  .github  
File Role Description
Files folder imageworkflows (1 file)

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

  Files folder image Files  /  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  /  src  /  Podcast  
File Role Description
Files folder imageFeed (1 file)
  Plain text file File.php Class Class source

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

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

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

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

  Files folder image Files  /  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  /  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  /  tests  /  unit  /  Podcast  /  Feed  
File Role Description
  Plain text file GeneratorTest.php Class Class source

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

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

  Files folder image Files  /  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  /  web  /  audio-files  
File Role Description
  Accessible without login Plain text file my-awesome-interview-with-peter.meta.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:81
This week:1
All time:10,067
This week:560Up