3
1
Back

In sliders, lit for each author's protection and ours, we want $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] .= "
Alt.

New Pull Request