3
1
Back

Updates Assorted updates Assorted updates elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = $matches[1]; elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $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 else { return $rel; } if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } extract(parse_url($base)); $path = ''; } /* OotS uses some kind of routing.

New Pull Request