3
1
Back

= $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "

" . $entry->textContent . ""; $img_tag = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'jpg')]", $article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { //no-op else { return $article; } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry.

New Pull Request