3
1
Back

Title and alt tags elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $img_tag = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // there's both alt and title.

New Pull Request