3
1
Back

A borked RSS feed elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && Various updates, additions $alt_element = $doc->createElement("i", $alt_text); } elseif ($title_text && !$alt_text){ $text_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 if (preg_match("@.*(get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(

New Pull Request