3
1
Back

Different histories. // Achewood (alt tag) elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // Doghouse Diaries, which has broken alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = $matches[1]; $img = $matches[1]; } } Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //no-op else { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') .

New Pull Request