3
1
Back

*/ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type); } function mangle_article($article) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (!$alt_text || strpos($article['title'], $title_text) !== False) { $alt_text = $entry->getAttribute('title'); $alt_text = $entry->getAttribute('title'); $alt_text = trim($img->getAttribute('title')); $title_text = trim($img->getAttribute('title')); $title_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } .

New Pull Request