3
1
Back

Whether this is far simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($img->getAttribute('title')) { // Camp Weedonwantcha elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // Eat That Toast bog-standard example // Breaking Cat News elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies // Two Lumps // Two Lumps Features.

New Pull Request