3
1
Back

{ $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type); } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users.

New Pull Request