PHP code example of lukaswhite / podcast-feed-parser
1. Go to this page and download the library: Download lukaswhite/podcast-feed-parser library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lukaswhite / podcast-feed-parser example snippets
use Lukaswhite\PodcastFeedParser\Parser;
$parser = Parser();
$parser->load('/path/to/feed/feed.rss');
$podcast = $parser->run();
$parser = Parser();
$parser->setContent(/** raw content */);
$podcast = $parser->run();