_feedUrl = $this->_getFeedUrl($feed); if (!$this->_feedUrl) { throw new Exception('JSON feed "' . $feed . '" undefined'); } } abstract protected function _parseFeedContent($feed); protected function _fetchItems() { $this->_feedJson = json_decode(file_get_contents($this->_feedUrl)); return $this->_parseFeedContent($this->_feedJson); } protected function _spamFilter($content) { return $content; } protected function _sortContent($content) { return $content; } } ?>