3
1
Back

(strpos($article["link"], "penny-arcade.com") !== FALSE ) { // Alice Grove bigger img elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { //no-op function rel2abs($rel, $base) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users 1e6cc98f41 Various updates, additions elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = new DOMXPath($doc); } function mangle_article($article) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .

New Pull Request