src/views/html.php
<!DOCTYPE html>
<html>
<head>
<title><?= $channel['title'] ?></title>
</head>
<body>
<h1><a href="<?= $channel['link'] ?>"><?= $channel['title'] ?></a></h1>
<ul>
<?php foreach ($items as $item) : ?>
<li>
<a href="<?= $item['loc'] ?>"><?= (empty($item['title'])) ? $item['loc'] : $item['title'] ?></a>
<small>(last updated: <?= date('Y-m-d\TH:i:sP', strtotime($item['lastmod'])) ?>)</small>
</li>
<?php endforeach; ?>
</ul>
</body>
</html>