3
1
Back

== "preview") ? 6 : quality == "preview") ? 0.5 : quality == "rendering") ? 0.25 : quality == "preview") ? 6 : quality == "fast preview") ? 12 : 12; // The Better To Find You With (http://sorcery101.net/) elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Achewood (alt tag) // Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text function get_content($link) { $html.

New Pull Request