3
1
Back

$article){ $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } Various updates, additions $alt_element = $doc->createElement("i", $title_text); } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); .

New Pull Request