Иван Витальевич РомановМихаил Михайлович КучерянкоСергей Васильевич Прудий
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
<xsl:output method="xml" media-type="text/html" indent="yes" encoding="UTF-8"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" />
<xsl:template match = "/icestats" >
<xsl:for-each select="source">
<xsl:if test="artist"><xsl:value-of select="artist" /> - </xsl:if><xsl:value-of select="title" />
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
<?php
$song=file_get_contents('ссылка на аудиопоток');
$song=str_replace("&","&", $song);
file_put_contents('./icemeta.txt', $song);
$output = shell_exec('sed -n 2p ./icemeta.txt ');
echo "$output";
?>