3
1
Back

== $article['title'] || strpos($article['title'], $alt_text) !== False) { $alt_text = $entry->getAttribute('alt'); $alt_text = $entry->getAttribute('title'); $alt_text = trim($entry->getAttribute('title')); $result_html .= "Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags we don't need to call out for) // Dead Philosophers elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] .= "" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $article['id']; } return $article; } Some comics supported elseif.

New Pull Request