3
1
Back

$article) { $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= "Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) .

New Pull Request