3
1
Back

$this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
Alt: $alt_text
"; } } if(ADD_IDS){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $alt_text); } elseif (strpos($title_text, $alt_text) !== False.

New Pull Request