if (preg_match("@.*(getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Questionable Content (cleanup) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Wondermark (alt tag already present) // Wondermark (alt tag elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath .
alt
click/enter