3
1
Back

!= $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Cyanide & Happiness elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // SBMC // SBMC elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // there's both alt and title texts, they're both different, use both. $alt_element.

New Pull Request