3
1
Back

$this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup Merge issues to be fixed elsewhere elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Something Positive // Something Positive elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { //also append the.

New Pull Request