3
1
Back

Dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $img_tag . $article['content']; } Various updates, additions elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "
Alt: $alt_text
"; } } // PhD Unknown elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Chainsawsuit elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content.

New Pull Request