I'm currently using a PHP call to achieve this, but the problem is that I have to specify the number of episodes to display, and every time a new episode is released I have to increment that number.
Is there any way that I can display a list of podcast episodes without having to update the code every time a new episode is released?
Here is the code I'm currently using:
- item[$i]->link; ?>"><?php echo $blog->item[$i]->title; ?>
$url = "PODCAST URL";
$xml = simplexml_load_file($url, 'SimpleXMLElement', LIBXML_NOCDATA);
if ($xml == "")
echo "Feeds are down, Try again later";
$blog = $xml->channel;
for($i=0; $i<10; $i++)