Labels Milestones
BackGet simpler than this foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = $img; } $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Eat That Toast bog-standard example // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // generate holes for easier printing