3
1
Back

Prose of the Stick elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // And get blog entry $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } } //Sites that provide images and just need alt tags textified. $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text under images.

New Pull Request