65         $oCurl = 
oxNew(
'oxCurl');
 
   66         $oCurl->setMethod(
"GET");
 
   67         $oCurl->setUrl($sUrl);
 
   68         $oCurl->setOption(
'CURLOPT_HEADER', 
false);
 
   69         $oCurl->setOption(
'CURLOPT_POST', 
false);
 
   70         $sOutput = $oCurl->execute();
 
   88         $sUrl = 
"https://www.trustedshops.com/bewertung/show_xml.php?tsid=" . $sTsId;
 
   91         $this->_aChannel[
'empty'] = 
true;
 
   94             $oDomFile = 
oxNew(
"oxSimpleXml");
 
   95             if ($oXml = $oDomFile->xmlToObject($sOutput)) {
 
   96                 $aResult = $oXml->ratings->xpath(
'//result[@name="average"]');
 
   98                 $this->_aChannel[
'empty'] = 
false;
 
   99                 $this->_aChannel[
'result'] = (float) $aResult[0];
 
  100                 $this->_aChannel[
'max'] = 
"5.00";
 
  101                 $this->_aChannel[
'count'] = (int) $oXml->ratings[
"amount"];
 
  102                 $this->_aChannel[
'shopName'] = (
string) $oXml->name;
 
  106             $oEx = 
oxNew(
"oxException");
 
  107             $oEx->setMessage($oEx->getMessage());