3
1
Back

Some setup variables... You probably won't need to call out for Wondermark fix; added Oatmeal initial $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= $aftercomic; $article['content'] .= "
Alt: " . $article['id']; } return $article; } function get_xpath_dealie($link) { } /* absolute URL is ready! */ Assorted updates elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $doc = new DOMDocument.

New Pull Request