3
1
Back

D="m 3.4251919,5.8070862 v 0.196852" d="m 3.5236169,5.9055122 h -0.19685" d="M -5.3937043,2.4606366 V 2.6574871" d="m -8.7598464,2.5590618 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m 3.5236177,4.5275604 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m 3.5236175,7.2834656 h -0.19685" d="M 2.4803057,3.0511816 V 3.2480321" d="m 2.5787307,3.1496068 h -0.19685" d="m 3,3.875 v 0.25" d="m 2.875,4 h 0.25" d="M 1.574803,5.905513 H 1.1811022" d="m 2.9527563,10.236223 v 0.393701" d="m 4.3307094,5.905513 h 0.393701" d="M 2.9527563,1.5748029 V 1.181102" d="m -0.44985651,6.0200689 -1.06879179,0 -0.5343958,-0.9256008 0.5343959,-0.9256008 1.06879179,0 0.53439582,0.9256009 z" d="m -12.693837,3.4536024 v 0.281728" d="m 2.9527508,8.8188983 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? Elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // only keep everything starting at the first foreach($imgs as $img){ foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Berkeley Mews elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content.

New Pull Request