3
1
Back

'campcomic.com/comic/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Least I Could Do (wtf image size?) // Least I Could Do (wtf image size?) // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Cyanide & Happiness elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court // Gunnerkrigg Court elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { Clean up code formatting; added.

New Pull Request