3
1
Back

"//div[@id='content']/img", $article); } // Joy of Tech Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Alice Grove (get bigger image) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text elseif (strpos($article['link'], 'threepanelsoul.com/2') .

New Pull Request