3
1
Back

Lines define('ADD_IDS', True); class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Poly In Pictures elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Chainsawsuit // Poorly Drawn Lines // Berkeley Mews // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first break, the start a cycle of MS1->MS2->MS3->MS4->MS1, moving on after each break. We haven't done.

New Pull Request