3
1
Back

$article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); // Pain Train alt tag, Alice Grove (get bigger image) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches if ($img->getAttribute('title')) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'threepanelsoul.com/comic.

New Pull Request