diff --git a/lib/read-feed.php b/lib/read-feed.php index 32640f7..aeb2d1c 100644 --- a/lib/read-feed.php +++ b/lib/read-feed.php @@ -7,16 +7,16 @@ include_once('lib/comic-page.php'); include_once('lib/log.php'); function readFeed($path) { - $awfulSinging = file_get_contents($path); + $feedXmlRaw = file_get_contents($path); - if ($awfulSinging === false) { + if ($feedXmlRaw === false) { Log::warn("Failed to read existing XML feed from " . $path); return null; }; - Log::info("Read " . strlen($awfulSinging) . " bytes from " . $path); + Log::info("Read " . strlen($feedXmlRaw) . " bytes from " . $path); - $xml = simplexml_load_string($awfulSinging); + $xml = simplexml_load_string($feedXmlRaw); $items = array(); foreach ($xml->channel->item as $itemXml) {