3
1
Back

{ $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Dead Philosophers elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath.

New Pull Request