3
1
Back

Ref="#FLG?" Part="1" AR Path="/607ED812/60970E37" Ref="S1" Part="1" AR Path="/607ED812/607F01E7" Ref="R25" Part="1" AR Path="/607ED812/60802BB2" Ref="R31" Part="1" AR Path="/607ED812/609384DB" Ref="#FLG03" Part="1" AR Path="/607ED812/60A9C0A9" Ref="R11" Part="1" AR Path="/607ED812/607F01E7" Ref="R25" Part="1" AR Path="/609384DB" Ref="#FLG?" Part="1" AR Path="/607ED812/60800A40" Ref="R113" Part="1" AR Path="/607ED812/60B160FF" Ref="J10" Part="1" AR Path="/607ED812/609384DB" Ref="#FLG03" Part="1" AR Path="/607ED812/60802B98" Ref="R29" Part="1" AR Path="/607ED812/60C38349" Ref="R10" Part="1" AR Path="/607ED812/607F01E7" Ref="R109" Part="1" AR Path="/607ED812/60802B98" Ref="R111" Part="1" AR Path="/607ED812/60B16110" Ref="J8" Part="1" AR Path="/607ED812/60802BB2" Ref="R31" Part="1" AR Path="/607ED812/60A9C088" Ref="R14" Part="1" AR Path="/6091D1B4" Ref="S?" Part="1" AR Path="/607ED812/60A9C088" Ref="R14" Part="1" AR Path="/607ED812/60A9C096" Ref="R24" Part="1" AR Path="/60A9C088" Ref="R?" Part="1" AR Path="/607ED812/60A9C096" Ref="R9" Part="1" AR Path="/607ED812/60970E37" Ref="S3" Part="1" AR Path="/607ED812/60B160FF" Ref="J7" Part="1" AR Path="/6091D1B4" Ref="S?" Part="1" AR Path="/607ED812/60C38349" Ref="R23" Part="1" AR Path="/607ED812/60B16110" Ref="J11" Part="1" AR Path="/607ED812/60B160FF" Ref="J10" Part="1" AR Path="/607ED812/60800A40" Ref="R27" Part="1" AR Path="/60A9C0A9" Ref="R?" Part="1" AR Path="/607ED812/607F01E7" Ref="R25" Part="1" AR Path="/607ED812/60802BB2" Ref="R31" Part="1" AR Path="/607ED812/60C3833D" Ref="R8" Part="1" AR Path="/607ED812/60C38343" Ref="R22" Part="1" From 3d279dd88cba890e1ff05b6fd01cb5480b1f325e Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Dead Philosophers elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Two Lumps // Breaking Cat.

New Pull Request