3
1
Back

-0.19685" d="M -3.5433109,9.54725 V 9.744101" d="m -3.4448859,9.645676 h -0.19685" d="M -3.5433109,9.54725 V 9.744101" d="m -3.4448859,9.645676 h -0.19685" d="M -3.543312,5.0196934 V 5.2165449" d="m -3.444887,5.1181194 h -0.19685" d="M -5.3937043,2.4606366 V 2.6574871" d="m -5.2952793,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 -2.5590543,2.521019 v 0.07874" d="m -2.5196841,2.5590618 h -0.07874" d="m -0.59055042,2.521019 v 0.07874" d="m -0.55118022,2.5590618 h -0.07874" d="m -4.7244126,1.1417373 v 0.07874" d="m -2.5196841,2.5590618 h -0.07874" d="M -4.4488226,2.4606366 V 2.6574871" d="m -4.3503976,2.5590618 h -0.19685" d="m 2.9527508,8.8202247 v 0.07874" d="m -4.6850386,1.1811083 h -0.07874" d="m -0.59055042,2.521019 v 0.07874" d="m -4.6850386,1.1811083 h -0.07874" d="m -0.59055042,2.521019 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.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)) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Joy of Tech elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Three Panel Soul elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions tracks the ratsnest and compactifies the power 2 From 5082711a9800483ca58d4b1dffec55bdf27856b9 Mon Sep 17 00:00:00 2001 Subject: [PATCH] VG Cats, via their tumblr rss feed since they don't have one of its Copyright © 2011 Russ Ross .

New Pull Request