getYAML(); //Get the newest YAML from github $points = $rss->parsePoints($yaml); //Parse the YAML correctly $rss->parseDifference($points); //See if there is any difference $rss->updateOld($points); //Update the yaml file to the newest YAML $rss = $rss->getDB(); //Get all previous changes //Start actually parsing the RSS $i = 0; header("Content-Type: application/xml; charset=UTF-8"); echo "\n"; ?> Recent TrumpTracker updates https://trumptracker.github.io RSS feed for all policy updates on Trump's presidency en-US $item) { $i++; if($i < 10) { echo "\n"; echo "$id\n"; echo "$item[title]\n"; echo "$item[url]\n"; echo "$item[content]\n"; $time = date('D, d M Y H:i:s T',$item['time']); echo "$time\n"; echo "\n"; } } ?>