3
1
Back

In img src and quotes in alt/title text under images (extra useful for non-browser users 1e6cc98f41 Various updates, additions elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] .= "
$orig_content
"; } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($alt_text, $title_text) !== False) { if ($img->getAttribute('title')) { // Eat That Toast bog-standard example // Breaking Cat News.

New Pull Request