3
1
Back

V 0.281728" d="m 2.9527508,8.8188983 v 0.07874" d="m -4.6850386,1.1811083 h -0.07874" d="M -4.4488226,2.4606366 V 2.6574871" d="m -4.3503976,2.5590618 h -0.19685" d="m -6.8897674,11.318904 v 0.196852" d="m 3.5236169,5.9055122 h -0.19685" d="M -3.543312,5.0196934 V 5.2165449" d="m -3.444887,5.1181194 h -0.19685" d="M 2.4803057,3.0511816 V 3.2480321" d="m 2.5787307,3.1496068 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m 3.5236175,7.2834656 h -0.19685" d="M 2.4803098,7.7755925 V 7.972443" d="m 2.5787348,7.8740177 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 -8.8582714,2.4606366 V 2.6574871" d="m -8.7598464,2.5590618 h -0.19685" d="M -3.5433071,7.381896 V 7.5787465" d="m -3.4448821,7.4803212 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 -0.55118022,2.5590618 h -0.07874" d="m -4.7244126,1.1417373 v 0.07874" d="M 2.992121,8.8569411 H 2.913381" It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Girls with Slingshots // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif ($alt_text == $article['title'] || strpos($article['title'], $title_text) !== false){ // there's an arrow shaped hole you can avoid it. Wait and use.

New Pull Request