3
1
Back

Href="https://gitea.circuitlocution.com/synth_mages/precadsr/commit/bab77fac9dc44b0a10d743c564c65ae0938027f6">bab77fac9dc44b0a10d743c564c65ae0938027f6 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? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = preg_replace("@@", '', $article['content']); // only keep everything starting at the first if(preg_match("@.*(get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "ID: " . $img->getAttribute('title') .

New Pull Request