title = trim($newsItem->title); // $this->message("item has for title \"".$item->title."\""); if(empty($newsItem->guid)) { $item->uri = $newsItem->link; } else { $item->uri = $newsItem->guid; } // now load that uri from cache // $this->message("now loading page ".$item->uri); $articlePage = str_get_html($this->get_cached($item->uri)); $content = $articlePage->find('.post-container', 0); $item->content = $content->innertext; $item->name = $articlePage->find('a[rel=author]', 0)->innertext; // format should parse 2014-03-25T16:21:20Z. But, according to http://stackoverflow.com/a/10478469, it is not that simple $item->timestamp = $this->RSS_2_0_time_to_timestamp($newsItem); return $item; } }