Labels Milestones
Back8be0bd80e05e7fe62720d7fda27423a4c75b90a3 Update README.md 085327769df1923053fc21adb0ef584f908b8264 Add befaco image for inspo bab77fac9dc44b0a10d743c564c65ae0938027f6 Update README.md 83b013c3637bfb179ad62b90a6c8b2f5fb547c8c Update README.md 5505000471ab249f70d985a8f814bce077fb47b2 Update README.md 2015-02-23 04:37:33 -08:00 It's really 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? Elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; // Least I Could Do (wtf image size? If(preg_match("@.*(