/** * @return Feed */ function parseMetadata() { $feed = new Feed(); \phpQuery::newDocument($this->getText()); $feed->setUrl($this->url); $feed->setTitle(pq('b.xcontrast_txt')->text()); $feed->setAuthor(pq('a.xcontrast_txt:nth-child(5)')->text()); $feed->setUpdatedDate(0); return $feed; }