3
1
Back

'gunnerkrigg.com/?p') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Breaking Cat News $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text.

New Pull Request