__getUserAgent()); curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_ENCODING, ''); curl_setopt($ch, CURLOPT_TIMEOUT, 20); $page = curl_exec($ch); curl_close ($ch); return $page; } protected function _fetchItems() { $page = $this->__getHttpContent($this->_feedUrl); $this->_feedXml = new \SimpleXMLElement($page); return $this->_parseFeedContent($this->_feedXml); } } ?>