3
1
Back

(http://sorcery101.net/) elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] .= "

" . $entry->textContent . "

"; } } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // And get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // SatW elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // And.

New Pull Request