_fields = array( '_permalink' => 'permalink', '_excerpt' => 'excerpt', '_created' => 'created', '_title' => 'title'); parent::__construct($dom); // weblog object field $this->_parseWeblog(); // filter fields $this->_permalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_permalink); $this->_created = Zend_Service_Technorati_Utils::normalizeDate($this->_created); } /** * Returns the weblog object that links queried URL. * * @return Zend_Service_Technorati_Weblog */ public function getWeblog() { return $this->_weblog; } /** * Returns the title of the entry. * * @return string */ public function getTitle() { return $this->_title; } /** * Returns the blurb from entry with search term highlighted. * * @return string */ public function getExcerpt() { return $this->_excerpt; } /** * Returns the datetime the entry was created. * * @return Zend_Date */ public function getCreated() { return $this->_created; } /** * Returns the permalink of the blog entry. * * @return Zend_Uri_Http */ public function getPermalink() { return $this->_permalink; } }