3
1
Back

Continue? // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "
Alt: " . $article['id']; } return $article; } function hook_render_article($article) { $article['content'] = $matches[1]; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser.

New Pull Request