3
1
Back

$this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $title_text); } elseif ($alt_text == $title_text){ } elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $alt_text); } elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // replace the (containing project wonderful) with nothing $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'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request