3
1
Back

2 are the only way you could satisfy both it and this is far simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); } // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get an idea how to obtain it in a location (such as a.

New Pull Request