3
1
Back

Preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Two Lumps // Two Lumps elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // SatW // SatW // SatW elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites 2015-03-24 12:20:47 -07:00 55ee65a5e9 Go to file d5bfb6e27b 's notes on repique/caixa, two or three for surdos c6741b48f0 More random files 7e24b3de83 Notes from debugging aac0a4a5b4f604add3c1ccb9d39a8956f2d60f00 More notes 812d609d12a788e600a582b2b6e7494f6d2b0728

New Pull Request