3
1
Back

Plugin!" . $e->getMessage(); } } } Pain Train (to get alt tags) } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE.

New Pull Request