Labels Milestones
Back$article); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Doghouse Diaries, which has broken alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
" . $entry->textContent . "
"; $article['content'] .= "" . $entry->textContent . "
"; } } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element. New Pull Request