3
1
Back

D="m 3.5236169,5.9055122 h -0.19685" d="M 2.4803044,6.7913398 V 6.9881903" d="m 2.5787294,6.889765 h -0.19685" d="M -6.8897634,7.381896 V 7.5787465" d="m -3.4448821,7.4803212 h -0.19685" d="m 3.4251927,4.4291344 v 0.196852" d="m 3.5236219,3.1496062 h -0.19685" d="m 2.9527508,8.8202247 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 elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] = $img; } //Sites that provide images and just need alt tags textified. } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { if ($img->getAttribute('title')) { // Drugs and Wires elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Poly In Pictures elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE.

New Pull Request