3
1
Back

Word Stun-backups History 269f3bf9f9 power word stun initial commit by general (thickness 1.6) elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Questionable Content (cleanup // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

New Pull Request