3
1
Back

Image. // $article['content'] = $matches[1]; } } foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Cyanide & Happiness elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep.

New Pull Request