Labels Milestones
BackTags elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Cyanide & Happiness elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } /* absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // not a comic, 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("@.*(
- -3.549011e-001 0.000000e+000 vertex -5.777357e+000.
- 0.758946 0.0816059 0.64602 facet normal 6.451849e-01 -7.640264e-01 0.000000e+00.