3
1
Back

-6.8897672,9.54725 V 9.744101" d="m -3.4448859,9.645676 h -0.19685" d="m 2.9527508,8.8202247 v 0.07874" d="m -4.6850386,1.1811083 h -0.07874" d="M -4.4488226,2.4606366 V 2.6574871" d="m -5.2952793,2.5590618 h -0.19685" d="m -3.5433111,11.318904 v 0.196852" d="m 3.5236219,3.1496062 h -0.19685" d="m -6.8897674,11.318904 v 0.196852" d="m 3.5236219,3.1496062 h -0.19685" d="m 2.9527508,8.8202247 v 0.07874" d="m -4.6850386,1.1811083 h -0.07874" d="m -4.7244126,1.1417373 v 0.07874" d="m -2.5196841,2.5590618 h -0.07874" d="m -4.7244126,1.1417373 v 0.07874" d="M 2.992121,8.8582675 H 2.913381" 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)) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = preg_replace("@@", '', $article['content']); } // PhD Unknown elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { $img_tag = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // only keep everything starting at the first time You have come back.

New Pull Request