3
1
Back

Slingshots elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== 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, "//p[@id='comic_body']//img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // Doghouse Diaries, which has broken alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') .

New Pull Request