PHP Classes

File: web/index.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Simple PHP Podcast Generator   web/index.php   Download  
File: web/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple PHP Podcast Generator
Generate podcast RSS from audio and video files
Author: By
Last change:
Date: 5 months ago
Size: 296 bytes
 

Contents

Class file image Download
<?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();