Labels Milestones
BackContent rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Pain Train alt tag, Alice Grove (get bigger image) elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ======================================================================== Copyright (c) Feross Aboukhadijeh, and other contributors Permission is hereby granted, free of charge, to any person obtaining a copy The MIT License (MIT) Copyright (c) 2012-2016.
New Pull Request