3
1
Back

Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Dinosaur Comics Cleanup $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags textified. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } */ // Create.

New Pull Request