3
1
Back

''; foreach ($entries as $entry){ foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Poly In Pictures elseif (strpos($article['link.

New Pull Request