3
1
Back

'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $img_tag = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); // And get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "

" . $entry->textContent . "

"; } } } // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/sillies/') .

New Pull Request