3
1
Back

$matches)){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } function rel2abs($rel, $base) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(query('//img'); $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') .

New Pull Request