_feedUrl = $this->_getFeedUrl($feed); if (!$this->_feedUrl) { throw new Exception('XML feed "' . $feed . '" undefined'); } } abstract protected function _parseFeedContent($feed); protected function _fetchItems() { $this->_feedXml = new \SimpleXMLElement($this->_feedUrl, 0, TRUE); return $this->_parseFeedContent($this->_feedXml); } protected function _spamFilter($content) { return $content; } protected function _sortContent($content) { return $content; } } ?>