3
1
Back

} Gunnerkrigg and cleanup of alt-tag-only sites 2015-03-24 12:20:47 -07:00 55ee65a5e9 Go to file d8eca8dc7e Add note resulting from real TL0x4s // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // not a comic, just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] = $img_tag . $article['content']; } drugs & wires, pilotside drugs & wires, pilotside elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Jesus & Mo elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = preg_replace("@@", '', $article['content']); } // Poly In Pictures } // Poly In.

New Pull Request