3
1
Back

// Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(textContent . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Drugs and Wires elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Questionable Content (cleanup) elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // replace the.

New Pull Request