3
1
Back

= preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything.

New Pull Request