3
1
Back

"F.Paste" user (36 B.SilkS user (37 F.SilkS user (38 B.Mask user (39 F.Mask user (40 "Dwgs.User" user "User.Drawings" (41 "Cmts.User" user "User.Comments" (42 "Eco1.User" user "User.Eco1" (43 "Eco2.User" user "User.Eco2" (44 "Edge.Cuts" user (45 "Margin" user (46 B.CrtYd user (47 F.CrtYd user (48 B.Fab user hide From 5a4d5850276107dae545a96ba13aec19af1bdbba Mon Sep 17 00:00:00 2001 Subject: [PATCH] Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos($article["link"], "eatthattoast.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[@id='comicbody']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // not a comic, 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'], 'paintraincomic.com/comic/') !== FALSE) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "

" . $entry->textContent . "

"; } } if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul * Scenes From.

New Pull Request