3
1
Back

{} /* absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base) { Various updates, additions elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } } Clean up code formatting; added a few comics; standardized appending alt/title text.

New Pull Request