3
1
Back

Shifting C5 so one of their own. If ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= "Error processing via _comics plugin!" . $e->getMessage(); } } } $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // SatW elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users.

New Pull Request