3
1
Back

Comments discuss potential fixes, maybe worth it for a few comics; standardized appending alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // And get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; } } // Timothy Winchester (People I Know) $article['content'] .= $aftercomic; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present foreach ($imgs as $img) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } // Timothy Winchester (People.

New Pull Request